Nullable overview

Added in v1.0.0


Table of contents


Combinators

Nullable

Widens a schema to include null and undefined

Signature

export declare const Nullable: <I, O>(
  schema: Schema<I, O>
) => ImplicitOptional & Schema<I | null | undefined, O | null | undefined>

Added in v1.0.0