summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Wadman <mattias.wadman@gmail.com>2021-02-21 17:49:23 +0100
committerWilliam Langford <wlangfor@gmail.com>2021-05-01 14:33:01 -0400
commitcc4efc49e1eedb98289347bf264c50c5c8656e7c (patch)
treeed9619cf4d31a028a8dd60eb6d313f5c3057372a
parente615bdc407ddcb82f1d78f1651464ad28e287954 (diff)
Fix incorrect if empty string example
-rw-r--r--docs/content/manual/manual.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml
index 3431b3a7..aee1ed47 100644
--- a/docs/content/manual/manual.yml
+++ b/docs/content/manual/manual.yml
@@ -2113,7 +2113,7 @@ sections:
means that you'll sometimes have to be more explicit about
the condition you want. You can't test whether, e.g. a
string is empty using `if .name then A else B end`, you'll
- need something more like `if .name then A else B end` instead.
+ need something more like `if .name == "" then A else B end` instead.
If the condition `A` produces multiple results, then `B` is evaluated
once for each result that is not false or null, and `C` is evaluated