hasInterfaces

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

Determines whatever the declaration has interfaces.

Return

true if the declaration has any interface, false otherwise.

Parameters

includeNested

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