countParameterTypes

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

Deprecated

Will be removed in version 0.19.0

Replace with

countParameters

Counts the number of parameter types that match the given predicate.

Return

The number of parameters that match the predicate.

Parameters

predicate

A function that evaluates each parameter declaration.