findLast
inline fun <T> Sequence<T>.findLast(
predicate: (T) -> Boolean
): T?
Returns the last element matching the given predicate, or null
if no such element was found.
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
登录查看完整内容