element-vir - v26.14.0
Preparing search index...
Decrement
Type Alias Decrement<T>
Decrement
:
IsNever
<
Extract
<
ArrayElement
<
Incrementable
>
,
T
>
>
extends
true
?
never
:
T
extends
keyof
Incrementable
?
[
never
,
...
Incrementable
]
[
T
]
:
never
Decrements the given number. If an invalid type parameter is given,
never
is the output.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
element-vir - v26.14.0
Loading...
Decrements the given number. If an invalid type parameter is given,
neveris the output.