Skip to main content

Signature

path=null start=null
last<T>(arr: T[]): T

Type Parameters

  • T

Parameters

  • arr: T[] - The array to get the last element from.

Returns

T - The last element of the array.

Source

Defined in array.ts:15