added unit testing, and started implementing unit tests...phew
This commit is contained in:
16
node_modules/lodash/_mapCacheHas.js
generated
vendored
Normal file
16
node_modules/lodash/_mapCacheHas.js
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
var getMapData = require('./_getMapData');
|
||||
|
||||
/**
|
||||
* Checks if a map value for `key` exists.
|
||||
*
|
||||
* @private
|
||||
* @name has
|
||||
* @memberOf MapCache
|
||||
* @param {string} key The key of the entry to check.
|
||||
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
||||
*/
|
||||
function mapCacheHas(key) {
|
||||
return getMapData(this, key).has(key);
|
||||
}
|
||||
|
||||
module.exports = mapCacheHas;
|
Reference in New Issue
Block a user