xdash / last
Function: last()
last<
T
>(arr
):T
Returns the last element of an array
Type parameters
• T
Parameters
• arr: T
[]
array to get the last element from
Returns
T
the last element of the array
xdash / last
last<
T
>(arr
):T
Returns the last element of an array
• T
• arr: T
[]
array to get the last element from
T
the last element of the array