Skip to main content
Module

x/aether/deps.ts>Double

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

A class representation of the BSON Double type.

Constructors

new
Double(value: number)

Create a Double type

Properties

_bsontype: string
value: number

Methods

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

Access the number value.

Static Methods

fromExtendedJSON(doc: DoubleExtended, options?: EJSONOptions): number | Double