A class representation of a BSON Int32 type.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Create an Int32 type

    Parameters

    • value: string | number

      the number we want to represent as an int32.

    Returns Int32

Properties

value: number

Accessors

  • get _bsontype(): "Int32"
  • Returns "Int32"

Methods

  • Returns string

  • Returns number

  • Parameters

    • Optional radix: number
      Optional

    Returns string

  • Access the number value.

    Returns number

    returns the wrapped int32 number.

Generated using TypeDoc