Returns a single member of the given union. Which member is returned is not guaranteed, but it is
deterministic for a given union.
Copied from the UnionMember type in the type-fest package so that this package's public types
do not depend on type-fest (see the note in type-checks.ts).
Returns a single member of the given union. Which member is returned is not guaranteed, but it is deterministic for a given union.
Copied from the
UnionMembertype in thetype-festpackage so that this package's public types do not depend ontype-fest(see the note intype-checks.ts).