summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/types.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/reference/types.md b/docs/reference/types.md
index 3979a454..b0ee1bd1 100644
--- a/docs/reference/types.md
+++ b/docs/reference/types.md
@@ -1029,6 +1029,12 @@ Combine all items in the array into one.
An alternative separator between the last two items
- returns: any
+### intersperse()
+Returns a new array with a separator placed between adjacent items.
+
+- separator: any (positional)
+ The value to insert between each item of the array.
+
### sorted()
Return a new array with the same items, but sorted.