isinfinite() Function

Tests given numbers against positive and negative infinity, returning true if the number is infinite, false if the number is not infinite.

Syntax

isinfinite( number1, number2, … )

number: (Decimal) Number to test against infinity.

Returns

Boolean

Examples

You can experiment with this function in the test box below.

Test Input

isinfinite(100) returns false

Open in Github

On This Page

FEEDBACK