Function findLastIndex

  • like Array.prototype.findIndex but from the end

    Type Parameters

    • T

    Parameters

    • arr: T[]
    • predicate: (v: T) => boolean

    Returns number