Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Sep 13, 2024
1 parent 3052713 commit 004f76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/articles/operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Operands can be omitted. When omitted, `$` is used as a default for the conditio
A query to truncate strings in array longer than 10 characters:

```jora
['short', 'and a very long string'].(size() < 10 ?: `${slice[0:10]}...`)
['short', 'and a very long string'].(size() < 10 ?: `${slice(0, 10)}...`)
// Result: ["short", "and a very..."]
```

Expand Down

0 comments on commit 004f76b

Please sign in to comment.