commit
d235f32bc9
1 file changed
+1
-1
@@ -946,7 +946,7 @@ sections:
|
|||||||
means that you'll sometimes have to be more explicit about
|
means that you'll sometimes have to be more explicit about
|
||||||
the condition you want: you can't test whether, e.g. a
|
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
|
string is empty using `if .name then A else B end`, you'll
|
||||||
need something more like `if (.name | count) > 0 then A else
|
need something more like `if (.name | length) > 0 then A else
|
||||||
B end` instead.
|
B end` instead.
|
||||||
|
|
||||||
If the condition A produces multiple results, it is
|
If the condition A produces multiple results, it is
|
||||||
|
|||||||
Reference in new issue
Block a user