function isSymbolObject
Jump to headingisSymbolObject(object: unknown): object is SymbolReturns true if the value is a symbol object, created
by calling Object() on a Symbol primitive.
const symbol = Symbol('foo');
util.types.isSymbolObject(symbol); // Returns false
util.types.isSymbolObject(Object(symbol)); // Returns true
Parameters Jump to heading
Jump to headingobject: unknownReturn Type Jump to heading
object is Symbol