isinf function

Syntax

  • bool isinf(value)

Parameters

  1. value—float

Returns

True if value is infinite, false otherwise.

Description

The isinf function checks if value is an infinite value.

Related

Examples

isinf(1/0)
# result = true
isinf(ln(0))
# result = true

In this topic