Membrane SDK - v0.3.0
    Preparing search index...

    Class ZodLazy<T>

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _type: output
    _output: output
    _input: input
    "~standard": Props<input<T>, output<T>>
    spa: (
        data: unknown,
        params?: InexactPartial<ParseParams>,
    ) => Promise<SafeParseReturnType<input<T>, output<T>>>

    Alias of safeParseAsync

    create: <Inner extends ZodTypeAny>(
        getter: () => Inner,
        params?: RawCreateParams,
    ) => ZodLazy<Inner>

    Accessors

    • get description(): undefined | string

      Returns undefined | string

    • get schema(): T

      Returns T

    Methods

    • Type Parameters

      • B extends string | number | symbol

      Parameters

      • Optionalbrand: B

      Returns ZodBranded<ZodLazy<T>, B>

    • Parameters

      • description: string

      Returns this

    • Returns boolean

    • Returns boolean