KotlinTrader / com.doubleu.kotlintrader.data / Storage / find

find

fun find(predicate: (T) -> Boolean): T?

Returns the first element matching the given predicate, or null if element was not found.