takeLastWhile

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

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

Return

A FloatList containing the final contiguous elements matching predicate.

Parameters

predicate

Function that tests each element for a condition.