filter_has_var
pestphp/pest
Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Checks if variable of specified type exists
<?php filter_has_var
(
int $input_type
,
string $var_name
):
bool