effect-io-ai

Package: effect
Module: Option

Option.Option

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

When to Use

You can use Option in scenarios like:

Signature

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

Source

Since v2.0.0