• File: _getValue.js
  • Full Path: /var/www/nodejs/callDir/node_modules/lodash/_getValue.js
  • Date Modified: 06/03/2024 5:11 PM
  • File size: 325 bytes
  • MIME-type: text/plain
  • Charset: utf-8
/**
 * Gets the value at `key` of `object`.
 *
 * @private
 * @param {Object} [object] The object to query.
 * @param {string} key The key of the property to get.
 * @returns {*} Returns the property value.
 */
function getValue(object, key) {
  return object == null ? undefined : object[key];
}

module.exports = getValue;