effect-io-ai

Package: effect
Module: Option

Option.Option

The Option data type represents optional values. An Option<A> is either Some<A>, containing a value of type A, or None, representing absence.

When to use

Use to represent initial values that may not yet exist

See

Signature

type Option<A> = None<A> | Some<A>

Source

Since v2.0.0