diff --git a/core/builtins/native/kotlin/Boolean.kt b/core/builtins/native/kotlin/Boolean.kt index eea0ce4a3cd..bfcdfc9b7b0 100644 --- a/core/builtins/native/kotlin/Boolean.kt +++ b/core/builtins/native/kotlin/Boolean.kt @@ -27,12 +27,14 @@ public class Boolean private constructor() : Comparable { public operator fun not(): Boolean /** - * Performs a logical `and` operation between this Boolean and the [other] one. + * Performs a logical `and` 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. */ public infix fun and(other: Boolean): Boolean /** - * Performs a logical `or` operation between this Boolean and the [other] one. + * 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. */ public infix fun or(other: Boolean): Boolean