@thi.ng/associative
Version:
ES Map/Set-compatible implementations with customizable equality semantics & supporting operations
8 lines • 296 B
TypeScript
/**
* Removes given `keys` from `coll` (a Map or Set), then returns `coll`.
*
* @param keys
*/
export declare function dissoc<K, V>(coll: Map<K, V>, keys: Iterable<K>): Map<K, V>;
export declare function dissoc<T>(coll: Set<T>, keys: Iterable<T>): Set<T>;
//# sourceMappingURL=dissoc.d.ts.map