empty

open fun <T> empty(): OrSpec<T>(source)

Returns the shared OrSpec with no member specs, which is satisfied by every object.

This is an exception to the usual rule that an empty disjunction is false. Like every OrSpec, it is immutable, so it is a starting point for building a disjunction. Its vacuous truth is lost once or(...) is called on it with at least one spec. An OrSpec that has it as a member is satisfied by every object.

Since

3.2