Skip to content

@dice-roller/rpg-dice-roller / NON_FINITE_NUMBERS

Variable: NON_FINITE_NUMBERS ​

const NON_FINITE_NUMBERS: object

Defined in: src/serialization/formats.ts:45

The numbers JSON can't represent, by their tag.

Type Declaration ​

-Infinity ​

readonly -Infinity: number = Number.NEGATIVE_INFINITY

Infinity ​

readonly Infinity: number = Number.POSITIVE_INFINITY

NaN ​

readonly NaN: number = Number.NaN

MIT Licensed · Credits