Interface Array<T>

Type Parameters

  • T

Hierarchy

  • Array

Methods

Methods

  • Computes the average of an array of numbers. If the array is empty the result is undefined.

    Parameters

    • this: readonly number[]

    Returns undefined | number

Generated using TypeDoc