hasDefaultValue

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

Determines whatever the declaration ha the default value.

Return

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

Parameters

value

the default value to check (optional).