is_finite - chung-leong/qb GitHub Wiki
is_finite - Whether a value is a legal finite number
bool is_finite( float $x )
is_finite() returns true if x is a finite number and false otherwise.
Parameters:
x - The number to process. It can be a scalar or an array.
Return Value:
true or false depending on whether x is a finite number. If x is an array, the return value will also be an array.
Version
1.0 and above.