lazy
constlazy: <T>(compute) =>Lazy<T> =Lazy.of
Defined in: src/util/Lazy.ts:128
Shorthand alias matching Scala’s lazy val.
Build a lazy cell from a thunk. Preferred entry point.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”compute
Section titled “compute”() => T
Returns
Section titled “Returns”Lazy<T>