Prelude API
Guides
Skill
GitHub
Preparing search index...
@prelude/array
atClamp
Function atClamp
atClamp
<
T
>
(
values
:
T
[]
,
index
:
number
)
:
T
Like
at
but bounds less than zero index to 0 and out of bound to last.
Type Parameters
T
Parameters
values
:
T
[]
index
:
number
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
Skill
GitHub
Prelude API
Loading...
Like
atbut bounds less than zero index to 0 and out of bound to last.