Function stdTypeOf
- stdTypeOf(
value: unknown,
):
| "string"
| "number"
| "bigint"
| "boolean"
| "symbol"
| "undefined"
| "object"
| "function"
| "Money"
| "Date"
| "null"
| "Array"
| "Instant"
| "PlainDate"
| "PlainDateTime"
| "ZonedDateTime"
| "File"
| "Blob"Parameters
- value: unknown
The value to check
Returns
| "string"
| "number"
| "bigint"
| "boolean"
| "symbol"
| "undefined"
| "object"
| "function"
| "Money"
| "Date"
| "null"
| "Array"
| "Instant"
| "PlainDate"
| "PlainDateTime"
| "ZonedDateTime"
| "File"
| "Blob"The type of the value. If the value is an object but recognized as any of Money, Date, Blob, Temporal.Instant/PlainDate/PlainDateTime, that type is returned.
- value: unknown
Check the type of a value, return its JS or STD type