UNPKG

@sapphire/utilities

Version:
14 lines (11 loc) 483 B
'use strict'; 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