QueryPredicate

sealed class QueryPredicate(source)

A query predicate that associates conditions or arbitrary metadata with a pattern.

The following predicates are supported by default:

  • #eq?, #not-eq?, #any-eq?, #any-not-eq?

  • #match?, #not-match?, #any-match?, #any-not-match?

  • #any-of?, #not-any-of?

Properties

Link copied to clipboard
abstract val args: List<QueryPredicateArg>

The arguments given to the predicate.

Link copied to clipboard

The name of the predicate.

Functions

Link copied to clipboard
override fun toString(): String