@webdeveric/utils
Preparing search index...
types/utils
IfHasOnlyNumericKeys
Type Alias IfHasOnlyNumericKeys<Type, T, F>
IfHasOnlyNumericKeys
:
`
${
Exclude
<
keyof
Type
,
symbol
>
}
`
extends
`
${
number
}
`
?
T
:
F
Check if the keys of a type are only numeric.
Type Parameters
Type
T
F
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@webdeveric/utils
Loading...
Check if the keys of a type are only numeric.