augment-vir - v32.2.2
    Preparing search index...

    Type Alias IfNotAnyOrNever<Type, IfNotAnyOrNeverBranch, IfAny, IfNever>

    IfNotAnyOrNever: If<
        IsAny<Type>,
        IfAny,
        If<IsNever<Type>, IfNever, IfNotAnyOrNeverBranch>,
    >

    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).

    Type Parameters

    • Type
    • IfNotAnyOrNeverBranch
    • IfAny = any
    • IfNever = never