assertItemsAreNotNull
Asserts that none of the elements of this array is null, returning it as an Array of the non-nullable element type T (which, for a reference-typed array, is the very same array instance, unsafely cast).
Throws
if any element of this array is null, naming its index in the message
Asserts that none of the elements of this list is null, returning it as a List of the non-nullable element type T.
Throws
if any element of this list is null, naming its index in the message
Lazily asserts that none of the elements of this sequence is null, yielding a Sequence of the non-nullable element type T; each element is checked only as it is traversed.
Throws
when a null element is reached, naming its index in the message
Same as Sequence.assertItemsAreNotNull, starting from an Iterable rather than a Sequence.
Throws
when a null element is reached, naming its index in the message