Sha256: 9168de234c552d79a2fd00fdb8c49a4050b47e28fe89886cbbb57d4753ee3b3f

Contents?: true

Size: 360 Bytes

Versions: 290

Compression:

Stored size: 360 Bytes

Contents

/**
 * The base implementation of `_.property` without support for deep paths.
 *
 * @private
 * @param {string} key The key of the property to get.
 * @returns {Function} Returns the new accessor function.
 */
function baseProperty(key) {
  return function(object) {
    return object == null ? undefined : object[key];
  };
}

module.exports = baseProperty;

Version data entries

290 entries across 267 versions & 32 rubygems

Version Path
appmap-0.71.0 ./node_modules/lodash/_baseProperty.js
disco_app-0.16.1 test/dummy/node_modules/lodash/_baseProperty.js
appmap-0.70.2 ./node_modules/lodash/_baseProperty.js
sumomo-0.8.14 data/sumomo/api_modules/node_modules/lodash/_baseProperty.js
appmap-0.70.1 ./node_modules/lodash/_baseProperty.js
appmap-0.70.0 ./node_modules/lodash/_baseProperty.js
appmap-0.69.0 ./node_modules/lodash/_baseProperty.js
sumomo-0.8.13 data/sumomo/api_modules/node_modules/lodash/_baseProperty.js
appmap-0.68.2 ./node_modules/lodash/_baseProperty.js
appmap-0.68.1 ./node_modules/lodash/_baseProperty.js
disco_app-0.15.2 test/dummy/node_modules/lodash/_baseProperty.js
appmap-0.68.0 ./node_modules/lodash/_baseProperty.js
appmap-0.67.1 ./node_modules/lodash/_baseProperty.js
trusty-cms-5.0.3 node_modules/lodash/_baseProperty.js
trusty-cms-5.0.2 node_modules/lodash/_baseProperty.js
appmap-0.67.0 ./node_modules/lodash/_baseProperty.js
disco_app-0.18.4 test/dummy/node_modules/lodash/_baseProperty.js
disco_app-0.18.1 test/dummy/node_modules/lodash/_baseProperty.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/lodash/_baseProperty.js
disco_app-0.14.0 test/dummy/node_modules/lodash/_baseProperty.js