hasVariableWithName

abstract fun hasVariableWithName(name: String, vararg names: String): Boolean

Determines whether the declaration has at least one variable whose name matches any of the specified names.

Return

true if there is a matching declaration, false otherwise.

Parameters

name

the name of the variable to check.

names

the names of the variables to check.


Determines whether the declaration has at least one variable whose name matches any of the specified names.

Return

true if there is a matching declaration, false otherwise.

Parameters

names

the names of the variables to check.