Function custom

  • Type Parameters

    • T

    Parameters

    • Optionalcheck: (data: unknown) => any
    • Optionalparams: string | CustomParams | (input: any) => CustomParams
    • Optionalfatal: boolean

    Returns Zod.z.ZodType<T, Zod.z.ZodTypeDef, T>