where

fun where(predicate: (A) -> Boolean): List<A>(source)

Return a new list of agents matching predicate.