Show:

The predicate class that implements the isof function.

Its constructor implements the following signatures:

  • new IsOfPredicate(typeName)
  • new IsOfPredicate(expression, typeName)

Where:

  • typeName - type name to which the current instance will be assigned.
  • expression - an expression relative to the current instance that must point to an object for assigning a type.

Constructor

Query.IsOfPredicate

(
  • args
)

Parameters:

Methods

and

(
  • predicates
)
Query.ComplexPredicate public

Combines specified predicates using and logic condition.

Parameters:

  • predicates Query.BasePredicate multiple

    List of predicates for combining.

Returns:

Query.ComplexPredicate:

Combined complex predicate with and logic.

createPredicate

(
  • args
)
BasePredicate

Creates predicate by various parameters.

Parameters:

  • args Object

    Arguments for the predicate.

Returns:

or

(
  • predicates
)
Query.ComplexPredicate public

Combines specified predicates using or logic condition.

Parameters:

  • predicates Query.BasePredicate multiple

    List of predicates for combining.

Returns:

Query.ComplexPredicate:

Combined complex predicate with or logic.

stringToPredicate

(
  • stringPredicate
)
BasePredicate

Convert string to predicate.

Parameters:

Returns:

toString

() String public

Converts this instance to string.

Returns:

String:

Text representation of result predicate.

Properties

expression

String public

Expression getter.

typeName

String public

Type name getter.