Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Int32

A class representation of a BSON Int32 type.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

  • new Int32(value: string | number): Int32
  • 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

  • inspect(): string
  • Returns string

  • toJSON(): number
  • Returns number

  • toString(radix?: number): string
  • Parameters

    • Optional radix: number

    Returns string

  • valueOf(): number
  • Access the number value.

    Returns number

    returns the wrapped int32 number.

Generated using TypeDoc