Class: Inverter

Decorators. Inverter

The Inverter decorator inverts the result of the child, returning `SUCCESS` for `FAILURE` and `FAILURE` for `SUCCESS`.

new Inverter()

Methods


validators()

defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
Type
Array.<Validator>