Bump to v4.12.0.

This commit is contained in:
John-David Dalton
2016-05-07 12:00:39 -07:00
parent ddde027fd9
commit dbe6a9008c
127 changed files with 1258 additions and 1116 deletions

16
_mapCacheHas.js Normal file
View 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;