Skip to main content
Module

x/rimbu/common/optlazy.ts

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
import * as rimbu from "https://deno.land/x/rimbu@0.13.0/common/optlazy.ts";

Functions

Returns the value contained in an OptLazy instance of type T.

Returns the value contained in an OptLazyOr instance of type T, or the given otherValue if the lazy function returns it.

Type Aliases

A potentially lazy value of type T.

A potentially lazy value that, in case of a lazy function, received a default value that it can return.