flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
13
BACK_BACK/node_modules/lodash/_baseHasIn.js
generated
vendored
Executable file
13
BACK_BACK/node_modules/lodash/_baseHasIn.js
generated
vendored
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* The base implementation of `_.hasIn` without support for deep paths.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} [object] The object to query.
|
||||
* @param {Array|string} key The key to check.
|
||||
* @returns {boolean} Returns `true` if `key` exists, else `false`.
|
||||
*/
|
||||
function baseHasIn(object, key) {
|
||||
return object != null && key in Object(object);
|
||||
}
|
||||
|
||||
module.exports = baseHasIn;
|
||||
Loading…
Add table
Add a link
Reference in a new issue