Class ZodFunction<Args, Returns>

Type Parameters

Hierarchy (view full)

Constructors

Properties

Alias of safeParseAsync

Type declaration

validate: (<F>(func) => ReturnType<F> extends Returns["_output"]
    ? ((...args) => ReturnType)
    : OuterTypeOfFunction<Args, Returns>)

Type declaration

Accessors

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

Methods

  • Parameters

    Returns string

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Returns Args

  • Returns Returns

Generated using TypeDoc