Preparing search index...
The search index is not available
@pleisto/active-support
@pleisto/active-support
last
Function last
last
<
T
>
(
array
,
defaultValue
?
)
:
undefined
|
null
|
T
Get the last item in an array or a default value
Type Parameters
T
Parameters
array
:
readonly
T
[]
Optional
defaultValue
:
null
|
T
Returns
undefined
|
null
|
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Get the last item in an array or a default value