doc / ch.tutteli.atrium.logic.utils / iterableLikeToIterableWithoutCheckForElements

iterableLikeToIterableWithoutCheckForElements

fun <T> AssertionContainer<*>.iterableLikeToIterableWithoutCheckForElements(iterableLike: IterableLike): Iterable<T> (source)

Transforms the given iterableLike to an Iterable with an element type T.

It does not check if the resulting Iterable has a next element. Use iterableLikeToIterable which incorporates this check. Use this function only, if you want to support IterableLike types in conjunction with another ...Like type.

Returns
the resulting Iterable of type

Since
0.15.0