Skip to content

Commit 1598c62

Browse files
committed
Update language-definition.md
1 parent 3be6386 commit 1598c62

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/language-definition.md

+8
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,14 @@ Flattens given array into one-dimensional array.
697697
flatten([1, 2, [3, 4]]) == [1, 2, 3, 4]
698698
```
699699

700+
### uniq(array) {#uniq}
701+
702+
Removes duplicates from an array.
703+
704+
```expr
705+
uniq([1, 2, 3, 2, 1]) == [1, 2, 3]
706+
```
707+
700708
### join(array[, delimiter]) {#join}
701709

702710
Joins an array of strings into a single string with the given delimiter.

0 commit comments

Comments
 (0)