diff options
-rw-r--r-- | src/gleam/bool.gleam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/bool.gleam b/src/gleam/bool.gleam index 5586153..66200a8 100644 --- a/src/gleam/bool.gleam +++ b/src/gleam/bool.gleam @@ -324,9 +324,9 @@ pub fn to_string(bool: Bool) -> String { } } -/// Run a callback function if the given bool is `True`, otherwise return a +/// Run a callback function if the given bool is `False`, otherwise return a /// default value. -/// +/// /// With a `use` expression this function can simulate the early-return pattern /// found in some other programming languages. /// |