Package-level declarations

Functions

Link copied to clipboard
fun <T : Any, E, P : Collection<E>> KProperty1<T, P>.isEmpty(): PredicateSpecification<T>

Creates a PredicateSpecification that tests whether a collection is empty.

Link copied to clipboard
fun <T : Any, E, P : Collection<E>> KProperty1<T, P>.isMember(value: E): PredicateSpecification<T>

Creates a PredicateSpecification that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false.

Link copied to clipboard
fun <T : Any, E, P : Collection<E>> KProperty1<T, P>.isNotEmpty(): PredicateSpecification<T>

Creates a PredicateSpecification that tests whether a collection is not empty.

Link copied to clipboard
fun <T : Any, E, P : Collection<E>> KProperty1<T, P>.isNotMember(value: E): PredicateSpecification<T>

Creates a PredicateSpecification that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.