popUntil

open fun popUntil(predicate: (R) -> Boolean): ImmutableList<R>(source)

Pop records off the top of the backstack until one is found that matches the given predicate.