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)

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

"parameters must be from type AbstractConstraint"

Type
TypeError