hasPropertyDeclaration

abstract fun hasPropertyDeclaration(predicate: (KoPropertyDeclaration) -> Boolean? = null): Boolean

Whether declaration has a specified property declaration.

Return

true if the declaration has the specified property declaration (or any property declaration if predicate is null), false otherwise.

Parameters

predicate

The predicate function used to determine if a property declaration satisfies a condition.