hasAllInterfaces

abstract fun hasAllInterfaces(includeNested: Boolean = true, predicate: (KoInterfaceDeclaration) -> Boolean): Boolean

Determines whether the declaration has all interfaces that satisfy the provided predicate.

Note that if the interfaces contains no elements, the interface returns true because there are no elements in it that do not match the predicate.

Return

true if all interface declarations satisfy the predicate, false otherwise.

Parameters

includeNested

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

predicate

An interface that defines the condition to be met by interface declarations.