findPrevious
Finds the previous index where the predicate matches, searching backward from fromIndex (inclusive).
Return
the previous matching index, or -1 if no match found
Parameters
fromIndex
the starting index (inclusive)
predicate
the condition to test
Throws
if predicate is null