hasProperties
Determines whatever the declaration has properties.
Return
true
if the declaration has any property, false
otherwise.
Parameters
includeNested
Specifies whether to include nested properties in the check (optional, default is true
).