docs: Document symdiff
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 7 Nov 2018 09:00:33 +0000 (10:00 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 7 Nov 2018 09:38:58 +0000 (10:38 +0100)
Closes https://github.com/gohugoio/hugoDocs/issues/659

docs/content/en/functions/symdiff.md [new file with mode: 0644]

diff --git a/docs/content/en/functions/symdiff.md b/docs/content/en/functions/symdiff.md
new file mode 100644 (file)
index 0000000..b47bd26
--- /dev/null
@@ -0,0 +1,28 @@
+---
+title: "symdiff"
+description: "`collections.SymDiff` (alias `symdiff`) returns the symmetric difference of two collections."
+date: 2018-11-07
+categories: [functions]
+menu:
+  docs:
+    parent: "functions"
+keywords: [collections,intersect,union, complement]
+signature: ["COLLECTION | symdiff COLLECTION" ]
+hugoversion: "0.51"
+aliases: []
+---
+
+Example:
+
+```go-html-template
+{{ slice 1 2 3 | symdiff (slice 3 4) }}
+```
+
+The above will print `[1 2 4]`.
+
+Also see https://en.wikipedia.org/wiki/Symmetric_difference
+
+
+
+
+