Appearance
@miyue-mma/shared / has
function has(obj, path): boolean
判断对象是否具有指定路径的属性
Record<string, any>
Record
string
any
待判断对象
属性路径
string | string[]
boolean