Interface Array<T>

Type Parameters

  • T

Hierarchy

  • Array

Methods

Methods

  • Returns the sum of an array of numbers. The sum is 0 for empty arrays.

    Parameters

    • this: readonly number[]

    Returns number

Generated using TypeDoc