//#region src/value/collection.d.ts /** * Does the value exist for a key in a _Map_? * * @param map _Map_ to check in * @param value Value to check for * @returns `true` if the value exists, otherwise `false` */ declare function inMap(map: Map, value: Value): boolean; /** * Does the value exist for a key in a _Map_? * * @param map _Map_ to check in * @param value Value to check for * @param key To return the key for the value * @returns The key for the value if it exists, otherwise `undefined` */ declare function inMap(map: Map, value: Value, key: true): Key; /** * Does the value exist in a _Set_? * * @param set _Set_ to check in * @param value Value to check for * @returns `true` if the value exists, otherwise `false` */ declare function inSet(set: Set, value: Value): boolean; //#endregion export { inMap, inSet };