• Searches for a value by predicate function.

    Type Parameters

    • T

    Parameters

    Returns number

    Found index or -1.