Class

Snowflake

Snowflake(id)

Snowflake class

Constructor

# new Snowflake(id)

Parameters:
Name Type Description
id number

Snowflake data to fetch from

View Source classes/snowflake.ts, line 7

Classes

Snowflake

Methods

# static newSnowflake() → {Snowflake}

View Source classes/snowflake.ts, line 109

Snowflake

# getSnowflake() → {string}

View Source classes/snowflake.ts, line 99

snowflake

string

# toBigInt() → {bigint}

Converts to a bigint

View Source classes/snowflake.ts, line 121

bigint

# toJSON() → {Object}

Creates a JSON-compatible object

View Source classes/snowflake.ts, line 115

Object

# toString() → {string}

View Source classes/snowflake.ts, line 104

snowflake

string