is_string
ShawnMcCool/phansi
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Find whether the type of a variable is string
<?php is_string
(
mixed $value
):
bool