@tsdotnet/type - v1.2.7
Preparing search index...
type
isPrimitiveOrSymbol
Function isPrimitiveOrSymbol
For detecting if the value can be used as a key.
Param: value
Param: allowUndefined
Returns
isPrimitiveOrSymbol
(
value
:
unknown
)
:
value
is
symbol
|
NullablePrimitive
For detecting if the value can be used as a key.
Parameters
value
:
unknown
Returns
value
is
symbol
|
NullablePrimitive
isPrimitiveOrSymbol
(
value
:
unknown
,
allowUndefined
:
false
,
)
:
value
is
symbol
|
NullablePrimitive
For detecting if the value can be used as a key.
Parameters
value
:
unknown
allowUndefined
:
false
Returns
value
is
symbol
|
NullablePrimitive
isPrimitiveOrSymbol
(
value
:
unknown
,
allowUndefined
:
boolean
,
)
:
value
is
undefined
|
symbol
|
NullablePrimitive
For detecting if the value can be used as a key.
Parameters
value
:
unknown
allowUndefined
:
boolean
Returns
value
is
undefined
|
symbol
|
NullablePrimitive
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@tsdotnet/type - v1.2.7
Loading...
For detecting if the value can be used as a key.
Param: value
Param: allowUndefined
Returns