mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Add related function for each module. [closes #2932]
This commit is contained in:
committed by
John-David Dalton
parent
b856263af6
commit
401016d260
1
has.js
1
has.js
@@ -9,6 +9,7 @@ import hasPath from './.internal/hasPath.js';
|
||||
* @param {Object} object The object to query.
|
||||
* @param {Array|string} path The path to check.
|
||||
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
||||
* @see hasIn, set, get
|
||||
* @example
|
||||
*
|
||||
* const object = { 'a': { 'b': 2 } };
|
||||
|
||||
Reference in New Issue
Block a user