@ExperimentalContracts interface SimpleEffect : Effect
An effect that can be observed after a function invocation.
See Also
Specifies that this effect, when observed, guarantees booleanExpression to be true.
abstract infix fun implies( booleanExpression: Boolean ): ConditionalEffect
Describes a situation when a function returns normally with a given return value.
interface Returns : SimpleEffect
Describes a situation when a function returns normally with any non-null return value.
interface ReturnsNotNull : SimpleEffect
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.contracts/-simple-effect/index.html