Interface Array<T>

Type Parameters

  • T

Hierarchy

  • Array

Methods

Methods

  • Determine the largest element based on the return value of the provided maxFunction.

    Parameters

    • Optional maxFunction: ((value, index, array) => number)
        • (value, index, array): number
        • Parameters

          • value: T
          • index: number
          • array: T[]

          Returns number

    Returns undefined | T

Generated using TypeDoc