Hierarchy (view full)

Constructors

Properties

_input: boolean
_output: boolean
_type: boolean
spa: ((data, params?) => Promise<SafeParseReturnType<boolean, boolean>>)

Alias of safeParseAsync

Type declaration

create: ((params?) => ZodBoolean)

Type declaration

    • (params?): ZodBoolean
    • Parameters

      • Optional params: {
            description?: string;
            errorMap?: ZodErrorMap;
            invalid_type_error?: string;
            required_error?: string;
        } & {
            coerce?: boolean;
        }

      Returns ZodBoolean

Accessors

  • get description(): undefined | string
  • Returns undefined | string

Methods

  • Parameters

    Returns string

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns Promise<boolean>

Generated using TypeDoc