Get the generic type of the given value. Unlike typeof, the returned type will be a generic type. For example, calling typeOf([]) will returns array instead of object.
typeof
typeOf([])
array
object
Generated using TypeDoc
Get the generic type of the given value. Unlike
typeof
, the returned type will be a generic type. For example, callingtypeOf([])
will returnsarray
instead ofobject
.