filter

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

Returns a list containing only elements matching the given predicate.