hasInterfacesOrObjects

abstract fun hasInterfacesOrObjects(includeNested: Boolean = true): Boolean

Determines whatever the declaration has interfaces and objects.

Return

true if the declaration has any interface or object, false otherwise.

Parameters

includeNested

Specifies whether to include nested interfaces and objects in the check (optional, default is true).