aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gleam/bool.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/bool.gleam b/src/gleam/bool.gleam
index e4a12a3..05092f5 100644
--- a/src/gleam/bool.gleam
+++ b/src/gleam/bool.gleam
@@ -8,7 +8,7 @@
import gleam/order.{Order}
-/// Returns the and of two bools.
+/// Returns the and of two bools, but it evaluates both arguments.
///
/// It's the function equivalent of the `&&` operator.
/// This function is useful in higher order functions or pipes.
@@ -29,7 +29,7 @@ pub fn and(a: Bool, b: Bool) -> Bool {
a && b
}
-/// Returns the or of two bools.
+/// Returns the or of two bools, but it evaluates both arguments.
///
/// It's the function equivalent of the `||` operator.
/// This function is useful in higher order functions or pipes.