Skip to content

工具函数库 Utils

判断对象

js
export function isObject(val) {
    return val !== null && typeof val === 'object'
}