Skip to content

Commit

Permalink
Fix incorrect if empty string example
Browse files Browse the repository at this point in the history
  • Loading branch information
wader authored and wtlangford committed May 1, 2021
1 parent e615bdc commit cc4efc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/manual/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc4efc4

Please sign in to comment.