Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LazyValue

A value that is created once on access 'value' property.

Hierarchy

  • LazyValue

Implements

Index

Constructors

Properties

Accessors

Constructors

constructor

  • Initializes a new instance of that class.

    Parameters

    • baseValue: Value

      The base value.

    Returns LazyValue

Properties

Private _value

_value: any = IS_LAZY_VALUE

baseValue

baseValue: Value

The base value.

Accessors

isValueCreated

  • get isValueCreated(): boolean
  • Gets if the value has already created or not.

    Returns boolean

name

  • get name(): string
  • The name of the value (if available).

    inheritdoc

    Returns string

value

  • get value(): any
  • The value.

    inheritdoc

    Returns any

Generated using TypeDoc