Improve Boolean infix functions' documentation (#1249)
This commit is contained in:
committed by
Dmitry Jemerov
parent
be664e26f7
commit
a24c9a987f
@@ -27,12 +27,14 @@ public class Boolean private constructor() : Comparable<Boolean> {
|
|||||||
public operator fun not(): Boolean
|
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
|
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
|
public infix fun or(other: Boolean): Boolean
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user