We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0afebc commit 308f5beCopy full SHA for 308f5be
src/gleam/bool.gleam
@@ -324,9 +324,9 @@ pub fn to_string(bool: Bool) -> String {
324
}
325
326
327
-/// 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
328
/// default value.
329
-///
+///
330
/// With a `use` expression this function can simulate the early-return pattern
331
/// found in some other programming languages.
332
///
0 commit comments