matches

abstract fun matches(element: String): Boolean

Determines whether the given element matches to declaration.

Return

true if the element matches the declaration, false otherwise.

Parameters

element

The element to be matched, typically represented as a String.