7 lines
168 B
JavaScript
7 lines
168 B
JavaScript
'use strict';
|
|
var isCallable = require('../internals/is-callable');
|
|
|
|
module.exports = function (it) {
|
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
};
|