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
clapton-0.0.12 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.6 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
clapton-0.0.1 lib/clapton/javascripts/node_modules/lodash/_baseProperty.js
immosquare-cleaner-0.1.47 node_modules/lodash/_baseProperty.js
immosquare-cleaner-0.1.46 node_modules/lodash/_baseProperty.js
immosquare-cleaner-0.1.45 node_modules/lodash/_baseProperty.js
immosquare-cleaner-0.1.44 node_modules/lodash/_baseProperty.js
boring_generators-0.14.0 tmp/templates/app_template/node_modules/lodash/_baseProperty.js
immosquare-cleaner-0.1.43 node_modules/lodash/_baseProperty.js
immosquare-cleaner-0.1.42 node_modules/lodash/_baseProperty.js
immosquare-cleaner-0.1.41 node_modules/lodash/_baseProperty.js