Or

Or

Represents the OR operator.

Constructor

new Or(…clauses)

Create a OR operator.
Parameters:
Name Type Attributes Description
clauses Array.<Clause> <repeatable>
Array of clauses to be concatenated with Or operator.
Properties:
Name Type Description
clauses Array.<Clause> Clauses to be concatenated with Or operator.

Methods

(static) fromJson(obj) → {Or}

This method is for internal use only.
Parameters:
Name Type Description
obj JSON object that represented a OR operator.
Returns:
Or instance
Type
Or

toJson() → {Object}

This method is for internal use only.
Returns:
JSON object that represented this instance.
Type
Object