true if T is exactly symbol, otherwise false.
true
T
symbol
false
IsExactlySymbol<symbol>; // true IsExactlySymbol<any | symbol>; // false IsExactlySymbol<Integer<2>>; // false Copy
IsExactlySymbol<symbol>; // true IsExactlySymbol<any | symbol>; // false IsExactlySymbol<Integer<2>>; // false
Returns
true
ifT
is exactlysymbol
, otherwisefalse
.Example