dropLastWhile

inline fun dropLastWhile(predicate: (Float) -> Boolean): FloatList(source)

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

Return

A FloatList with the trailing contiguous elements matching predicate removed.

Parameters

predicate

Function that tests each element for a condition.