has All Parent Interfaces
abstract fun hasAllParentInterfaces(indirectParents: Boolean = false, predicate: (KoParentDeclaration) -> Boolean): Boolean
Determines whether the declaration has all parent interfaces that satisfy the provided predicate.
Note that if the parent interfaces contains no elements, the function returns true
because there are no elements in it that do not match the predicate.
Return
true
if all parent interfaces satisfy the predicate, false
otherwise.
Parameters
indirect Parents
specifies whether to include parent interfaces defined in other files such as parent of the parent.
predicate
A function that defines the condition to be met by parent interfaces.