numInterfacesAndObjects

abstract fun numInterfacesAndObjects(includeNested: Boolean = true): Int

Returns the number of interfaces and objects present in the declaration.

Return

The number of interfaces and objects in the declaration.

Parameters

includeNested

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