UNPKG

@thi.ng/associative

Version:

ES Map/Set-compatible implementations with customizable equality semantics & supporting operations

4 lines 218 B
import type { Pair } from "@thi.ng/api"; export declare const ensureMap: <K, V>(x: Iterable<Pair<K, V>>) => Map<K, V>; export declare const ensureSet: <T>(x: Iterable<T>) => Set<T>; //# sourceMappingURL=checks.d.ts.map