dropWhile

inline fun dropWhile(predicate: (Int) -> Boolean): IntList(source)

Returns a new list containing all elements except the first elements that satisfy the given predicate.

Return

A IntList containing the trailing elements after the initial contiguous elements matching predicate.

Parameters

predicate

Function that tests each element for a condition.