diff options
Diffstat (limited to 'docs/content/en/functions/complement.md')
-rw-r--r-- | docs/content/en/functions/complement.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/content/en/functions/complement.md b/docs/content/en/functions/complement.md index 91640d803..e4cf01e77 100644 --- a/docs/content/en/functions/complement.md +++ b/docs/content/en/functions/complement.md @@ -10,14 +10,13 @@ signature: - "complement COLLECTION [COLLECTION]..." - "collections.Complement COLLECTION [COLLECTION]..." relatedfuncs: [intersect,symdiff,union] -aliases: [] --- To find the elements within `$c3` that do not exist in `$c1` or `$c2`: ```go-html-template {{ $c1 := slice 3 }} -{{ $c2 := slice 4 5 }} +{{ $c2 := slice 4 5 }} {{ $c3 := slice 1 2 3 4 5 }} {{ complement $c1 $c2 $c3 }} → [1 2] |