1ca49101ede8faa05300fdacebcb7d773e198c844f9e44899c50d13905906330cd420cfe6b99692b1134990adc1d6b9e5f03011831d7bb09bf45f570c5d9d3 323 B

12345678910111213
  1. /**
  2. * Gets the value at `key` of `object`.
  3. *
  4. * @private
  5. * @param {Object} [object] The object to query.
  6. * @param {string} key The key of the property to get.
  7. * @returns {*} Returns the property value.
  8. */
  9. function getValue(object, key) {
  10. return object == null ? undefined : object[key];
  11. }
  12. export default getValue;