@sapphire/utilities
Version:
Common JavaScript utilities for the Sapphire Community
14 lines (11 loc) • 483 B
JavaScript
;
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
// src/lib/hasAtLeastOneKeyInMap.ts
function hasAtLeastOneKeyInMap(map, keys) {
return keys.some((key) => map.has(key));
}
__name(hasAtLeastOneKeyInMap, "hasAtLeastOneKeyInMap");
exports.hasAtLeastOneKeyInMap = hasAtLeastOneKeyInMap;
//# sourceMappingURL=hasAtLeastOneKeyInMap.cjs.map
//# sourceMappingURL=hasAtLeastOneKeyInMap.cjs.map