@ExperimentalContracts abstract infix fun implies( booleanExpression: Boolean ): ConditionalEffect
Specifies that this effect, when observed, guarantees booleanExpression to be true.
Note: booleanExpression can accept only a subset of boolean expressions, where a function parameter or receiver (this
) undergoes
Boolean
;== null
, != null
);is
, !is
);&&
, ||
, !
).
© 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/implies.html