UNPKG

@n3okill/utils

Version:
8 lines (7 loc) 296 B
/** * Given two sets, return true if they contain the same elements. * @param {T} a - The first set. * @param {U} b - U is the type of the second set. * @returns The result of the equality check. */ export declare function equalSet<T extends Set<unknown>, U extends T>(a: T, b: U): boolean;