• Provide typeguards and boolean result of a zod validator

    Type Parameters

    • T

    Parameters

    • validator: ZodType<T, ZodTypeDef, T>

    Returns ((value) => value is T)

      • (value): value is T
      • Parameters

        • value: unknown

        Returns value is T

Generated using TypeDoc