AbstractOperator

Monster/Constraints. AbstractOperator

Operators allow you to link constraints together. for example, you can check whether a value is an object or an array. each operator has two operands that are linked together.

Constructor

new AbstractOperator(operantA, operantB)

Source:
Since:
  • 1.3.0
Parameters:
Name Type Description
operantA AbstractConstraint
operantB AbstractConstraint
Throws:

"parameters must be from type AbstractConstraint"

Type
TypeError