Allow users to apply functional predicates alongside 'index of' and 'last index of' search methods in this specialized list variant