RuleBuilder

RuleBuilder

Creates rules in a fluent style.

Constructor

new RuleBuilder(toggleable)

Source:
Parameters:
Name Type Description
toggleable boolean

if this builder is toggleable

Methods

when() → {triggers.TriggerBuilder}

Description:
  • Specifies when the rule should occur. Will create a standard rule.

Source:
Returns:

rule builder

Type
triggers.TriggerBuilder