Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Int32

A class representation of a BSON Int32 type.

Hierarchy

  • Int32

Index

Constructors

constructor

  • 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

_bsontype: "Int32"

value

value: number

Methods

inspect

  • inspect(): string
  • Returns string

toJSON

  • toJSON(): number
  • Returns number

toString

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

    • Optional radix: number

    Returns string

valueOf

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

    Returns number

    returns the wrapped int32 number.

Generated using TypeDoc