countArguments

abstract fun countArguments(predicate: (KoArgumentDeclaration) -> Boolean): Int

Returns the number of arguments that satisfies the specified predicate present in the declaration.

Return

The number of arguments in the declaration.

Parameters

predicate

The predicate function to determine if an argument satisfies a condition.