Class Int32

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

  • Prints a human-readable string of BSON value information If invoked manually without node.js.inspect function, this will default to a modified JSON.stringify

    Parameters

    • Optional depth: number
    • Optional options: unknown
    • Optional inspect: InspectFn

    Returns string

  • Returns number

  • Parameters

    • Optional radix: number

    Returns string

  • Access the number value.

    Returns number

    returns the wrapped int32 number.

Generated using TypeDoc