union

open fun <T> union(specs: Array<Spec<in T>>): Spec<T>(source)
open fun <T> union(specs: Collection<out Spec<in T>>): Spec<T>(source)

Returns a spec that selects the union of those items selected by the provided spec. Selects everything when no specs provided.