count should be length
Example refers to a count function, which does not exist. Replacing it with length works.
This commit is contained in:
1 parent
78976b3504
commit
bdbfa7e32c
1 file changed
+1
-1
@@ -946,7 +946,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 | count) > 0 then A else
|
||||
need something more like `if (.name | length) > 0 then A else
|
||||
B end` instead.
|
||||
|
||||
If the condition A produces multiple results, it is
|
||||
|
||||
Reference in new issue
Block a user