Resolves to IfNotAnyOrNeverBranch unless the given type is any or never, in which case the
respective IfAny or IfNever branch is used.
Copied from the IfNotAnyOrNever 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).
Resolves to
IfNotAnyOrNeverBranchunless the given type isanyornever, in which case the respectiveIfAnyorIfNeverbranch is used.Copied from the
IfNotAnyOrNevertype in thetype-festpackage so that this package's public types do not depend ontype-fest(see the note intype-checks.ts).