Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Int32

A class representation of a BSON Int32 type.

Hierarchy

  • Int32

Index

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

_bsontype: "Int32"
value: number

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