interface Some
Since 0.1.0

An Option holding a value.

Type Parameters

The contained value type

Properties

readonly
present: true

Discriminant: true when a value is present.

readonly
value: T

The contained value.

Usage

import { type Some } from "common/src/index.ts";