type-plus
    Preparing search index...

    Type Alias IsNotSymbol<T, $O>

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

    🎭 predicate

    Validate if T is not symbol.

    type R = IsNotSymbol<symbol> // false

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

    🔢 customize

    Filter to ensure T is not symbol, otherwise returns never.

    Type Parameters

    type R = IsNotSymbol<symbol, { selection: 'filter' }> // never

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

    🔢 customize

    Disable distribution of union types.

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

    🔢 customize

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

    type R = IsNotSymbol<string, $SelectionBranch> // $Then
    type R = IsNotSymbol<symbol, $SelectionBranch> // $Else