Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aether/deps.ts>Bson.Int32

A Deno library to interface with the Discord API
Latest
class Bson.Int32
Re-export
import { Bson } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { Int32 } = Bson;

A class representation of a BSON Int32 type.

Constructors

new
Int32(value: number | string)

Create an Int32 type

Properties

_bsontype: string
value: number

Methods

toExtendedJSON(options?: EJSONOptions): number | Int32Extended
toJSON(): number
toString(radix?: number): string
valueOf(): number

Access the number value.

Static Methods

fromExtendedJSON(doc: Int32Extended, options?: EJSONOptions): number | Int32