countParameters

abstract fun countParameters(predicate: (KoParameterDeclaration) -> Boolean): Int

Counts the number of parameters that match the given predicate.

Return

The number of parameters that match the predicate.

Parameters

predicate

A function that evaluates each parameter declaration.