Bump to v4.9.0.

This commit is contained in:
John-David Dalton
2016-04-07 21:49:55 -07:00
parent 7c17af79c7
commit 7d39d58e43
53 changed files with 428 additions and 317 deletions

8
has.js
View File

@@ -13,16 +13,16 @@ var baseHas = require('./_baseHas'),
* @returns {boolean} Returns `true` if `path` exists, else `false`.
* @example
*
* var object = { 'a': { 'b': { 'c': 3 } } };
* var other = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) });
* var object = { 'a': { 'b': 2 } };
* var other = _.create({ 'a': _.create({ 'b': 2 }) });
*
* _.has(object, 'a');
* // => true
*
* _.has(object, 'a.b.c');
* _.has(object, 'a.b');
* // => true
*
* _.has(object, ['a', 'b', 'c']);
* _.has(object, ['a', 'b']);
* // => true
*
* _.has(other, 'a');