ReflectionClass::isEnum
(PHP 8 >= 8.1.0)
ReflectionClass::isEnum — Returns whether this is an enum
Description
public ReflectionClass::isEnum(): bool
Parameters
This function has no parameters.
Return Values
Returns true
if this is an enum, false
otherwise.