NullableListFilteringExtensions<T> extension

on

Methods

indexOrNull(bool test(T? element)) int?
The first index in the list that satisfies the provided test or null.
lastIndexOrNull(bool test(T? element)) int?
The last index in the list that satisfies the provided test or null.