type-plus
    Preparing search index...

    Type Alias IsNotBigint<T, $O>

    IsNotBigint: $Special<
        T,
        $MergeOptions<
            $O,
            { $else: IsNotBigint.$<T, $O>; $then: $ResolveBranch<$O, [$Then], T> },
        >,
    >

    🎭 predicate

    Validate if T is not bigint nor bigint literals.

    Type Parameters

    type R = IsNotBigint<bigint> // false
    type R = IsNotBigint<1n> // false

    type R = IsNotBigint<never> // true
    type R = IsNotBigint<unknown> // true
    type R = IsNotBigint<string | boolean> // true

    🔢 customize

    Filter to ensure T is not bigint nor bigint literals, otherwise returns never.

    type R = IsNotBigint<bigint, { selection: 'filter' }> // never
    type R = IsNotBigint<1n, { selection: 'filter' }> // never

    type R = IsNotBigint<never, { selection: 'filter' }> // never
    type R = IsNotBigint<unknown, { selection: 'filter' }> // unknown
    type R = IsNotBigint<string | boolean, { selection: 'filter' }> // string | boolean

    🔢 customize:

    Validate if T is not exactly bigint.

    type R = IsNotBigint<bigint, { exact: true }> // false
    type R = IsNotBigint<1n, { exact: true }> // true

    🔢 customize

    Disable distribution of union types.

    type R = IsNotBigint<bigint | 1> // boolean
    type R = IsNotBigint<bigint | 1, { distributive: false }> // true

    🔢 customize

    Use unique branch identifiers to allow precise processing of the result.

    type R = IsNotBigint<string, $SelectionBranch> // $Then
    type R = IsNotBigint<bigint, $SelectionBranch> // $Else