Takaro - v0.4.11
    Preparing search index...

    Function lastIndexOf

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

      Type Parameters

      • T

      Parameters

      • array: List<T> | null | undefined

        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.