hasParameter

abstract fun hasParameter(predicate: (KoParameterDeclaration) -> Boolean): Boolean

Checks if any parameter matches the given predicate.

Return

true if any parameter matches the predicate, otherwise false.

Parameters

predicate

A function that evaluates each parameter declaration.