Options
All
  • Public
  • Public/Protected
  • All
Menu

A DynamicValue reducer returning the truthiness of the input

example

new BooleanizedValue(new TextValue("")).onValue(value=>
 value //false
)

Hierarchy

  • BooleanizedValue

Implements

Constructors

Properties

Methods

Constructors

constructor

Parameters

Returns BooleanizedValue

Properties

__variant__

__variant__: string = "BooleanizedValue"

input

input: DynamicValue<any>

name

name: string | void

Methods

getValue

  • getValue(): Promise<boolean>

Returns Promise<boolean>

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.