/** * @file Set utilities. */ /** * Given a {@linkcode Set}, extract the type of its elements. */ export type UnwrapSet> = T extends Set ? U : never;