chai-exclude.js
function isObject (arg) {
    return arg === Object(arg) && Object.prototype.toString.call(arg) !== '[object Array]'
  }
function isObject (arg) {
    return arg === Object(arg) && Object.prototype.toString.call(arg) !== '[object Array]'
  }
function isObject ( arg ) { return arg === Object ( arg ) && Object . prototype . toString . call ( arg ) !== '[object Array]' }
Check if the argument is an object.

@param   {any}      arg
@returns {Boolean}
Check if the argument is an object .