hasAllFunctions

abstract fun hasAllFunctions(includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (KoFunctionDeclaration) -> Boolean): Boolean

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

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

Return

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

Parameters

includeNested

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

includeLocal

Specifies whether to include local functions in the check (optional, default is true).

predicate

A function that defines the condition to be met by function declarations.