UNPKG

option-t

Version:

A toolkit of Nullable/Option/Result type implementation in ECMAScript. Their APIs are inspired by Rust's `Option<T>` and `Result<T, E>`.

3 lines (2 loc) 191 B
export { expectNotNull, isNotNull, isNull, unwrapNullable, type NotNull, type Nullable, } from './core/nullable.js'; export * as NullableOperator from './internal/intermediate_operators.js';