ReflectionClassConstant::hasType
Checks if class constant has a type
Description
public bool ReflectionClassConstant::hasType()
Checks if the class constant has a type associated with it.
Parameters
This function has no parameters.
Return Values
true
if a type is specified, false
otherwise.
See Also
- ReflectionClassConstant::getType
- ReflectionType