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) 223 B
export { expectNotNullOrUndefined, isNotNullOrUndefined, isNullOrUndefined, unwrapMaybe, type Maybe, type NotNullOrUndefined, } from './core/maybe.js'; export * as MaybeOperator from './internal/intermediate_operators.js';