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

    Type Parameters

    • T


    • array: undefined | null | List<T>

      The array to search.

    • value: T

      The value to search for.

    • Optional fromIndex: 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.

Generated using TypeDoc