Mods/node_modules/is-obj/index.js
oitsjustjose 6b60015c02 --
2017-02-26 17:06:42 -05:00

5 lines
137 B
JavaScript

'use strict';
module.exports = function (x) {
var type = typeof x;
return x !== null && (type === 'object' || type === 'function');
};