← All docs

is_finite()

Checks whether a float is finite.

is_finite()

function is_finite(float $num): bool

Checks whether a float is finite.

Parameters:

  • $num (float)

Returns: bool

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how is_finite is implemented in the compiler, see the internals page.