- getType<T = any>(
target: T,
):
| "string"
| "number"
| "bigint"
| "boolean"
| "symbol"
| "undefined"
| "object"
| "function"
| "window"
| "error"
| "promise"
| "math"
| "document"
| "navigator"
| "global"
| "array"
| "null"
| "date"
| "regexp" Returns
| "string"
| "number"
| "bigint"
| "boolean"
| "symbol"
| "undefined"
| "object"
| "function"
| "window"
| "error"
| "promise"
| "math"
| "document"
| "navigator"
| "global"
| "array"
| "null"
| "date"
| "regexp"
type
Get the target type