• This method is like _.indexOf except that it iterates over elements of array from right to left.

    Type Parameters

    • T

    Parameters

    • array: undefined | null | List<T>

      The array to search.

    • value: T

      The value to search for.

    • OptionalfromIndex: number | true

      The index to search from or true to perform a binary search on a sorted array.

    Returns number

    Returns the index of the matched value, else -1.