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.
🎭 predicate
Validate if
T
is notsymbol
.🔢 customize
Filter to ensure
T
is notsymbol
, otherwise returnsnever
.