com.lemonappdev.konsist.api.provider.KoValueProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of konsist Show documentation
Show all versions of konsist Show documentation
A Kotlin architecture test library. Define and guard code base consistency using Kotlin.
The newest version!
package com.lemonappdev.konsist.api.provider
/**
* An interface representing a Kotlin declaration that provides access to value.
*
*/
interface KoValueProvider : KoBaseProvider {
/**
* The value of declaration.
*/
val value: String?
/**
* Determines whatever the declaration has the value.
*
* @param value the value to check (optional).
* @return `true` if the declaration has the specified value (or any value if [value] is `null`), `false` otherwise.
*/
fun hasValue(value: String? = null): Boolean
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy