← Docs
kotlin-stdlib / kotlin / Boolean / or

or

Common
JVM
JS
Native
1.0
infix fun or ( other : Boolean ) : Boolean
(Common source) (Native source)

Performs a logical or operation between this Boolean and the other one. Unlike the || operator, this function does not perform short-circuit evaluation. Both this and other will always be evaluated.

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 .