has Parent Class With Name
Determines whether the declaration has a parent class whose name matches any of the specified names. If indirectParents
is set to true
, it verifies if there's at least one parent class that matches.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
the name of the parent class to check.
the names of the parent classes to check.
specifies whether to include parent classes defined in other files such as parent of the parent.
Determines whether the declaration has a parent class whose name matches any of the specified names. If indirectParents
is set to true
, it verifies if there's at least one parent class that matches.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
the names of the parent classes to check.
specifies whether to include parent classes defined in other files such as parent of the parent.