source: trip-planner-front/node_modules/lodash/_setCacheAdd.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 424 bytes
Line 
1/** Used to stand-in for `undefined` hash values. */
2var HASH_UNDEFINED = '__lodash_hash_undefined__';
3
4/**
5 * Adds `value` to the array cache.
6 *
7 * @private
8 * @name add
9 * @memberOf SetCache
10 * @alias push
11 * @param {*} value The value to cache.
12 * @returns {Object} Returns the cache instance.
13 */
14function setCacheAdd(value) {
15 this.__data__.set(value, HASH_UNDEFINED);
16 return this;
17}
18
19module.exports = setCacheAdd;
Note: See TracBrowser for help on using the repository browser.