Package-level declarations

Functions

Link copied to clipboard
fun <T : Collection<*>> exactCount(count: Int, message: (T) -> String): Rule<T>
fun <T : Collection<*>> exactCount(count: Int, message: String = "Must have "): Rule<T>
Link copied to clipboard
fun <T : Collection<*>> maxCount(count: Int, message: (T) -> String): Rule<T>
fun <T : Collection<*>> maxCount(count: Int, message: String = "Must have at most "): Rule<T>
Link copied to clipboard
fun <T : Collection<*>> minCount(count: Int, message: (T) -> String): Rule<T>
fun <T : Collection<*>> minCount(count: Int, message: String = "Must have at least "): Rule<T>
Link copied to clipboard
fun <T : Collection<*>> notEmpty(message: (T) -> String): Rule<T>
fun <T : Collection<*>> notEmpty(message: String = "Must not be empty"): Rule<T>