count Interfaces
abstract fun countInterfaces(includeNested: Boolean = true, predicate: (KoInterfaceDeclaration) -> Boolean): Int
Returns the number of interfaces that satisfies the specified predicate present in the declaration.
Return
The number of interfaces in the declaration.
Parameters
include Nested
Specifies whether to include nested interfaces in the count (optional, default is true
).
predicate
The predicate function to determine if an interface satisfies a condition.