Hack
HHVM
报告 bug 或提出建议。
搜索文档
Documentation
Hack
Reference
Class
ReflectionClass
isEnum
ReflectionClass::isEnum
Returns whether this ReflectionClass represents an enum
public function isEnum(): bool;
Returns
bool
- Returns TRUE if this is an enum, FALSE otherwise.