Type Alias ConditionFunction<This>

ConditionFunction: (targetInstance: This) => boolean

ConditionFunction type are the function passed to the Condition decorators. It receive the instance of the non finalized object in its current state and return a boolean.

Type Parameters

  • This

Type declaration

    • (targetInstance: This): boolean
    • Parameters

      • targetInstance: This

      Returns boolean