NewDash

    Function isObject

    • Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), and new String(''))

      Parameters

      • value: any

        The value to check.

      Returns boolean

      Returns true if value is an object, else false.

      5.6.0

      isObject({})
      // => true

      isObject([1, 2, 3])
      // => true

      isObject(Function)
      // => true

      isObject(null)
      // => false
    MMNEPVFCICPMFPCPTTAAATR