is_a
laravel/octane
Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Checks whether the object is of a given type or subtype
<?php is_a
(
mixed $object_or_class
,
string $class
,
bool $allow_string
=
false
):
bool