lastOrNull
Returns the last element, or null
if the buffer is empty.
inline fun DoubleBuffer.lastOrNull(predicate: (Double) -> Boolean): Double?
Content copied to clipboard
Returns the last element matching the given predicate, or null
if no such element was found.