hasParentClasses

abstract fun hasParentClasses(indirectParents: Boolean = false): Boolean

Determines whatever declaration has any parent class.

Return

true if the declaration has any parent class, false otherwise.

Parameters

indirectParents

specifies whether to include parent classes defined in other files such as parent of the parent.