import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_functional_assertFunction } from "../../internal/_test_functional_assertFunction";
import { ObjectHttpArray } from "../../structures/ObjectHttpArray";

export const test_functional_assertFunctionCustom_ObjectHttpArray =
  _test_functional_assertFunction(CustomGuardError)("ObjectHttpArray")(
    ObjectHttpArray,
  )((p: (input: ObjectHttpArray) => ObjectHttpArray) =>
    typia.functional.assertFunction(p, (p) => new CustomGuardError(p)),
  );
