Options
All
  • Public
  • Public/Protected
  • All
Menu

A DynamicValue reducer returning the stringified version of the input

example

new StringifiedValue(new NumberValue(1)).onValue(value=>
 value === "1" //true
)

Hierarchy

  • StringifiedValue

Implements

Constructors

Properties

Methods

Constructors

constructor

Parameters

Returns StringifiedValue

Properties

__variant__

__variant__: string = "StringifiedValue"

input

input: DynamicValue<any>

name

name: string | void

Methods

getValue

  • getValue(): Promise<string>

Returns Promise<string>

onValue

Parameters

Returns Unsubscriber

Static fromJSON

  • fromJSON(json: object): any

Parameters

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

Returns any

  • 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.