1
0

is-object.js 144 B

1234567
  1. 'use strict';
  2. var map = { function: true, object: true };
  3. module.exports = function (x) {
  4. return ((x != null) && map[typeof x]) || false;
  5. };