Documentation
Github
Preparing search index...
iso-base
utils
isObjectOfType
Function isObjectOfType
isObjectOfType
<
T
>
(
type
:
|
"ArrayBuffer"
|
"SharedArrayBuffer"
|
"Int8Array"
|
"Uint8Array"
|
"Uint8ClampedArray"
|
"Int16Array"
|
"Uint16Array"
|
"Int32Array"
|
"Uint32Array"
|
"Float32Array"
|
"Float64Array"
|
"BigInt64Array"
|
"BigUint64Array"
|
"Function"
|
"Generator"
|
"AsyncGenerator"
|
"GeneratorFunction"
|
"AsyncGeneratorFunction"
|
"AsyncFunction"
|
"Observable"
|
"Array"
|
"Buffer"
|
"Blob"
|
"Object"
|
"RegExp"
|
"Date"
|
"Error"
|
"Map"
|
"Set"
|
"WeakMap"
|
"WeakSet"
|
"WeakRef"
|
"DataView"
|
"Promise"
|
"URL"
|
"FormData"
|
"URLSearchParams"
|
"HTMLElement"
|
"NaN"
,
)
:
(
value
:
unknown
)
=>
value
is
T
Type Parameters
T
Parameters
type
:
|
"ArrayBuffer"
|
"SharedArrayBuffer"
|
"Int8Array"
|
"Uint8Array"
|
"Uint8ClampedArray"
|
"Int16Array"
|
"Uint16Array"
|
"Int32Array"
|
"Uint32Array"
|
"Float32Array"
|
"Float64Array"
|
"BigInt64Array"
|
"BigUint64Array"
|
"Function"
|
"Generator"
|
"AsyncGenerator"
|
"GeneratorFunction"
|
"AsyncGeneratorFunction"
|
"AsyncFunction"
|
"Observable"
|
"Array"
|
"Buffer"
|
"Blob"
|
"Object"
|
"RegExp"
|
"Date"
|
"Error"
|
"Map"
|
"Set"
|
"WeakMap"
|
"WeakSet"
|
"WeakRef"
|
"DataView"
|
"Promise"
|
"URL"
|
"FormData"
|
"URLSearchParams"
|
"HTMLElement"
|
"NaN"
Returns
(
value
:
unknown
)
=>
value
is
T
(
value
:
unknown
)
:
value
is
T
Parameters
value
:
unknown
Returns
value
is
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Documentation
Loading...