Appearance
Get the raw type of a value as a string (e.g., 'String', 'Object', 'Array').
'String'
'Object'
'Array'
import { toRawType } from '@preflower/utils' toRawType([]) // 'Array' toRawType({}) // 'Object' toRawType('hello') // 'String'
val
unknown