Package-level declarations

Functions

Link copied to clipboard
fun <T : Any, P : Comparable<P>> KProperty1<T, P?>.between(lower: P, upper: P): PredicateSpecification<T>

Creates a PredicateSpecification that checks if the property is between two values (inclusive).

Link copied to clipboard
fun <T : Any, P : Comparable<P>> KProperty1<T, P?>.greaterThan(value: P): PredicateSpecification<T>

Creates a PredicateSpecification that checks if the property is greater than the given value.

Link copied to clipboard
fun <T : Any, P : Comparable<P>> KProperty1<T, P?>.greaterThanOrEqualTo(value: P): PredicateSpecification<T>

Creates a PredicateSpecification that checks if the property is greater than or equal to the given value.

Link copied to clipboard
fun <T : Any, P : Comparable<P>> KProperty1<T, P?>.lessThan(value: P): PredicateSpecification<T>

Creates a PredicateSpecification that checks if the property is less than the given value.

Link copied to clipboard
fun <T : Any, P : Comparable<P>> KProperty1<T, P?>.lessThanOrEqualTo(value: P): PredicateSpecification<T>

Creates a PredicateSpecification that checks if the property is less than or equal to the given value.