some function

bool some(
  1. List list,
  2. dynamic fn(
    1. dynamic e
    )
)

Implementation

bool some(List list, dynamic Function(dynamic e) fn) =>
    list.any((x) => truthy(fn(x)));