_RecursivelyExtractFromSet type
Utility type to recursively evaluate if Type
is within Set
.
export type _RecursivelyExtractFromSet<Set extends unknown[], Current extends unknown[], Type> = _IsNever<Type> extends true ? never : _UniqueFromSet<Set, Current, _NextValue<Set, Current>, Type>;
Remarks
Use ExtractFromSet. This type is not meant to be used by itself.