Skip to content

@miyue-mma/shared / isPrimitive

函数: isPrimitive()

ts
function isPrimitive(value): boolean

判断是否为非空原始值

参数

value

unknown

待判断的值

返回

boolean

Released under the MIT License.