iggs-utils - v2.4.0
Preparing search index...
collection
lastEl
Function lastEl
lastEl
<
T
>
(
array
:
T
[]
)
:
T
get the last element of an aray.
Type Parameters
T
Parameters
array
:
T
[]
Returns
T
Example: simply does:
array
[
array
.
length
-
1
];
Copy
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
iggs-utils - v2.4.0
Loading...
get the last element of an aray.