with All Init Blocks
fun <T : KoInitBlockProvider> List<T>.withAllInitBlocks(predicate: (KoInitBlockDeclaration) -> Boolean): List<T>
List containing declarations that have all init blocks satisfying the provided predicate.
Return
A filtered list containing declarations with all init blocks satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by all init block declarations.