is_finite
Intervention/image
Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Checks whether a float is finite
<?php is_finite
(
float $num
):
bool