function isSymbolisSymbol(object: unknown): object is symbolDeprecatedReturns true if the given object is a Symbol. Otherwise, returns false. import util from 'node:util'; util.isSymbol(5); // Returns: false util.isSymbol('foo'); // Returns: false util.isSymbol(Symbol('foo')); // Returns: true Parametersobject: unknownReturn Typeobject is symbol