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