Function lastIndexOfHighest

  • Returns the index of the last element in the given array with the highest value according to the comparator. To find the index of the lowest value, use util.comparator.reversed

    Type Parameters

    • T

    Parameters

    Returns number