Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BSONSymbol

A class representation of the BSON Symbol type.

Hierarchy

  • BSONSymbol

Index

Constructors

constructor

  • Parameters

    • value: string

      the string representing the symbol.

    Returns BSONSymbol

Properties

_bsontype

_bsontype: "Symbol"

value

value: string

Methods

toJSON

  • toJSON(): string
  • Returns string

toString

  • toString(): string
  • Returns string

valueOf

  • valueOf(): string
  • Access the wrapped string value.

    Returns string

Generated using TypeDoc