Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PredicateCondition

Defines a predicate condition as an extension of Condition

Hierarchy

Index

Constructors

Properties

Methods

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

        • (): boolean
        • Returns boolean

    Returns PredicateCondition

Properties

predicateSearch playground for predicate

predicate: () => boolean

defines the predicate function used to validate the condition

Type declaration

    • (): boolean
    • Returns boolean

Methods

isValidSearch playground for isValid

  • isValid(): boolean
  • Returns boolean

    the validity of the predicate condition

serializeSearch playground for serialize

  • serialize(): any
  • Serialize placeholder for child classes

    Returns any

    the serialized object

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method