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