Urara-Blog/node_modules/.pnpm-store/v3/files/cb/eae70cfab071043ca3211a3831340349f9f8171ac61f2a752b6a1c8cba641f693803b8dcf4e592e8e183b5b2c17b2afbeb47eea46b9a124c93e620659facf0
2022-08-14 01:14:53 +08:00

13 lines
325 B
Text

/**
* 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;