Enumeration NumericType

Enumeration Members

FINITE: 9

The number is not equal to Infinity or -Infinity.

FLOAT: 3

The number is not an integer.

INFINITE: 10

The number is equal to Infinity or -Infinity.

INTEGER: 0

The number is divisible by 1 (num % 1 === 0).

NATURAL: 1

The number is a non-negative integer (either positive or 0).

NEGATIVE: 5

The number is strictly less than 0.

NONNEGATIVE: 7

The number is greater than or equal to 0.

NONPOSITIVE: 6

The number is less than or equal to 0.

NONZERO: 8

The number is not equal to 0.

POSITIVE: 4

The number is strictly greater than 0.

WHOLE: 2

The number is a positive integer.