containsAllFrom
context(_: Equality<Element>)
fun <Element> KoneIterable<Element>.containsAllFrom(elements: KoneIterable<Element>): Boolean(source)
fun <Element> KoneIterable<Element>.containsAllFrom(elements: KoneIterable<Element>): Boolean(source)
Checks if there are elements equal (in terms of the provided Equality) to elements from provided elements.
The function runs KoneIterable.contains for each in the elements iterable.
Receiver
The Equality context used to compare elements.
Return
true if all elements from elements are contained in this iterable, false otherwise.
Parameters
elements
The iterable of elements to check for containment.
Type Parameters
Element
The type of elements.