new Symbol(value){Symbol}
A class representation of the BSON Symbol type.
| Name | Type | Description |
|---|---|---|
value |
string |
the string representing the symbol. |
- Deprecated
- Yes
Methods
-
valueOf(){String}
-
Access the wrapped string value.
Returns:
the wrapped string.