I found a strange method in stdlib: ``` public fun...
# stdlib
m
I found a strange method in stdlib:
Copy code
public fun <T : Any> Iterable<T?>.requireNoNulls(): Iterable<T> {
    for (element in this) {
        if (element == null) {
            throw IllegalArgumentException("null element found in $this.")
        }
    }
    return this as Iterable<T>
}
As far as I understand after invoking this method the iterable may become empty.