Skip to content

toRawType ​

返回输入值的 原始类型。

使用 ​

ts
import { toRawType } from 'rattail'

toRawType({}) // return 'Object'
toRawType([]) // return 'Array'

参数 ​

参数类型默认值
valueany

返回值 ​

类型
string