Symbol()

Constructor

A class representation of the BSON Symbol type.

class Symbol()
Arguments:
  • value (string) – the string representing the symbol.
Returns:

symbol

valueOf

Access the wrapped string value.

valueOf()
Returns:string returns the wrapped string.

Contents

Manual

MongoDB Wiki