hasValue

abstract fun hasValue(value: String? = null): Boolean

Determines whatever the declaration has the value.

Return

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

Parameters

value

the value to check (optional).