OptionFromNullable overview

Added in v1.0.0


Table of contents


Conversion

OptionFromNullable

Represents an optional type which decodes from null and undefined and encodes to null

Signature

export declare const OptionFromNullable: <A, O>(
  inner: Schema<O, A>
) => ImplicitOptional & Schema<O | null | undefined, O.Option<NonNullable<A>>>

Added in v1.0.0