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>`.

8 lines (7 loc) 296 B
/** * @deprecated 37.1.0 * * Consider to use `Nullable<T>`, `Undefinable<T>`, or `Maybe<T>` to express an absence of a value. * In JavaScript, they satisfy almost use cases. Probably, you might not have to use this type. */ export * as Option from './internal/intermediate_namespace.js';