numInterfaces

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

Returns the number of interfaces present in the declaration.

Return

The number of interfaces in the declaration.

Parameters

includeNested

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