Sha256: 31a9412b3c307cabddf572c431e795ea9ed00b185ec1d965670a2853bee5e102
Contents?: true
Size: 519 Bytes
Versions: 153
Compression:
Stored size: 519 Bytes
Contents
/** * The base implementation of `_.isFunction` without support for environments * with incorrect `typeof` results. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. */ function baseIsFunction(value) { // Avoid a Chakra JIT bug in compatibility modes of IE 11. // See https://github.com/jashkenas/underscore/issues/1621 for more details. return typeof value == 'function' || false; } module.exports = baseIsFunction;
Version data entries
153 entries across 80 versions & 8 rubygems