where function

List where(
  1. List a,
  2. bool f(
    1. dynamic
    )
)

Implementation

List where(List a, bool Function(dynamic) f) {
    return a.where(f).toList();
}