Class PredicateCondition
Hierarchy
- Condition
- PredicateCondition
Index
Constructors
constructor
Creates a new PredicateCondition
Parameters
actionManager: ActionManager
manager for the action the condition applies to
predicate: (() => boolean)
defines the predicate function used to validate the condition
defines the predicate function used to validate the condition
Returns boolean
Returns PredicateCondition
Properties
predicateSearch playground for predicate
Type declaration
defines the predicate function used to validate the condition
Returns boolean
Methods
is ValidSearch playground for isValid
Returns boolean
the validity of the predicate condition
serializeSearch playground for serialize
Serialize placeholder for child classes
Returns any
the serialized object
Defines a predicate condition as an extension of Condition