Infers the SpecTypeName based on the value’s type, provided it is one of the SpecTypes. Think of it as a typeof, where the possible return values are the SpecTypeName's instead of the JavaScript primitive types.
typeof
Value to infer the SpecTypeName for.
The SpecTypeName for the given value.
Generated using TypeDoc
Infers the SpecTypeName based on the value’s type, provided it is one of the SpecTypes. Think of it as a
typeof
, where the possible return values are the SpecTypeName's instead of the JavaScript primitive types.