is_numeric
facade/ignition
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Finds whether a variable is a number or a numeric string
<?php is_numeric
(
mixed $value
):
bool