Function isObj

  • 检查是否对象

    Parameters

    • value: any

      值

    Returns boolean

    isObj({}); /// true
    isObj(null); /// false