Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@doodle/i18n / dist / cjs / node_modules / lodash / _getNative.js
Size: Mime:
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var _baseIsNative = require('./_baseIsNative.js');
var _getValue = require('./_getValue.js');

/**
 * 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.default(object, key);
  return _baseIsNative.default(value) ? value : undefined;
}

var _getNative = getNative;

exports.__moduleExports = _getNative;
exports.default = _getNative;
//# sourceMappingURL=_getNative.js.map