← Docs
kotlin-stdlib / kotlin.contracts / Returns

Returns

Common
JVM
JS
Native
1.3
@ExperimentalContracts interface Returns : SimpleEffect
(source)

Describes a situation when a function returns normally with a given return value.

See Also

ContractBuilder.returns

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .