From cc4efc49e1eedb98289347bf264c50c5c8656e7c Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Sun, 21 Feb 2021 17:49:23 +0100 Subject: Fix incorrect if empty string example --- docs/content/manual/manual.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3