hasClasses
Determines whatever the declaration has classes.
Return
true
if the declaration has any class, false
otherwise.
Parameters
includeNested
Specifies whether to include nested classes in the check (optional, default is true
).
includeLocal
Specifies whether to include local classes in the check (optional, default is true
).