@antv/layout
Version:
graph layout algorithm
27 lines (22 loc) • 570 B
JavaScript
/**
* Checks if a stack value for `key` exists.
*
* @private
* @name has
* @memberOf Stack
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
var _stackHas;
var hasRequired_stackHas;
function require_stackHas () {
if (hasRequired_stackHas) return _stackHas;
hasRequired_stackHas = 1;
function stackHas(key) {
return this.__data__.has(key);
}
_stackHas = stackHas;
return _stackHas;
}
export { require_stackHas as __require };
//# sourceMappingURL=_stackHas.js.map