dropLastWhile

inline fun dropLastWhile(predicate: (Double) -> Boolean): DoubleList(source)

Returns a new DoubleList containing all elements except the last elements that satisfy the given predicate.

Return

A DoubleList with the trailing contiguous elements matching predicate removed.

Parameters

predicate

Function that tests each element for a condition.