any function
Checks whether any element of the array passes the test. Function test gets 3 arguments passed:
- element from the array
- index of the element
- reference to the source array
Implementation
@JS()
external bool any(List<dynamic> array, Function test);