@antv/layout
Version:
graph layout algorithm
27 lines (22 loc) • 593 B
JavaScript
/**
* Checks if `value` is in the array cache.
*
* @private
* @name has
* @memberOf SetCache
* @param {*} value The value to search for.
* @returns {number} Returns `true` if `value` is found, else `false`.
*/
var _setCacheHas;
var hasRequired_setCacheHas;
function require_setCacheHas () {
if (hasRequired_setCacheHas) return _setCacheHas;
hasRequired_setCacheHas = 1;
function setCacheHas(value) {
return this.__data__.has(value);
}
_setCacheHas = setCacheHas;
return _setCacheHas;
}
export { require_setCacheHas as __require };
//# sourceMappingURL=_setCacheHas.js.map