3 lines
110 B
JavaScript
3 lines
110 B
JavaScript
module.exports = function (it) {
|
|
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
};
|