int xIndexFirst(bool Function(T) check) { for (int i = 0; i < length; i++) { if (check.call(this[i])) { return i; } } return 0; }