@pengzhanbo/utils - v3.5.0
GitHub
NPM
NPMX.DEV
JSR
@pengzhanbo
Preparing search index...
<internal>
LastArray
Type Alias LastArray<T>
LastArray
:
T
extends
[
...
any
[]
,
infer
U
]
?
U
:
Fn
Get the type of the last element in the array
获取数组的最后一个元素类型
Type Parameters
T
extends
any
[]
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
NPM
NPMX.DEV
JSR
@pengzhanbo
@pengzhanbo/utils - v3.5.0
Loading...
Get the type of the last element in the array
获取数组的最后一个元素类型