Sha256: 7392e38f4cb3cd6e1d3e3f89a26619cf89968382e0ed72a45d52e527aec0b1d9
Contents?: true
Size: 483 Bytes
Versions: 279
Compression:
Stored size: 483 Bytes
Contents
var baseIsNative = require('./_baseIsNative'), getValue = require('./_getValue'); /** * Gets the native function at `key` of `object`. * * @private * @param {Object} object The object to query. * @param {string} key The key of the method to get. * @returns {*} Returns the function if it's native, else `undefined`. */ function getNative(object, key) { var value = getValue(object, key); return baseIsNative(value) ? value : undefined; } module.exports = getNative;
Version data entries
279 entries across 275 versions & 31 rubygems