Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a predicate condition as an extension of Condition

Hierarchy

Index

Constructors

Properties

Methods

Constructors

  • 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
        • defines the predicate function used to validate the condition

          Returns boolean

    Returns PredicateCondition

Properties

predicate: () => boolean

Type declaration

    • (): boolean
    • defines the predicate function used to validate the condition

      Returns boolean

Methods

  • isValid(): boolean
  • Returns boolean

    the validity of the predicate condition

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

    Returns any

    the serialized object

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Inherited method
  • Static method

Settings

Theme