Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Lazy<T>

Type parameters

  • T

Hierarchy

  • Lazy

Index

Accessors

Methods

Accessors

hasValue

  • get hasValue(): boolean

value

  • get value(): T

Methods

Static for

  • for<T>(value: T): Lazy<T>
  • Type parameters

    • T

    Parameters

    • value: T

    Returns Lazy<T>

Static from

  • from<T, A>(factory: function, ...args: A): Lazy<T>
  • Type parameters

    • T
    • A: any[]

    Parameters

    • factory: function
        • (...args: A): T
        • Parameters

          • Rest ...args: A

          Returns T

    • Rest ...args: A

    Returns Lazy<T>

Generated using TypeDoc