RollTerm for ifelse(condition, if-true, if-false) function.

Defaults:

  • True: 1
  • False: 0

Example

ifelse(true) // => 1
ifelse(3 > 6, 100, 5) // => 5
ifelse(@boo == 2, 10) // => 0

Hierarchy

Constructors

Properties

isIntermediate: boolean = false
terms: any[]

Function parameters

MODIFIERS: {} = {}

Type declaration

    SERIALIZE_ATTRIBUTES: string[] = ...

    Accessors

    Methods

    Generated using TypeDoc