Options
All
  • Public
  • Public/Protected
  • All
Menu

A DynamicValue that holds a constant number value

Hierarchy

  • NumberValue

Implements

Constructors

Properties

Methods

Constructors

constructor

  • new NumberValue(input: number, name?: string): NumberValue

Parameters

  • input: number
  • name: string Optional

Returns NumberValue

Properties

__variant__

__variant__: string = "NumberValue"

input

input: number

name

name: string | void

Methods

getValue

  • getValue(): Promise<number>

Returns Promise<number>

onValue

Parameters

Returns Unsubscriber

Static fromJSON

Parameters

  • json: object
    • input: number
    • Optional name?: string

Returns NumberValue

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.