Merge pull request #31920 from robpickerill/main

update setsubtract examples to include toset notation
pull/33159/head
Rose M Koron 3 years ago committed by GitHub
commit 6eee1ba44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,19 +18,19 @@ setsubtract(a, b)
```
> setsubtract(["a", "b", "c"], ["a", "c"])
[
toset([
"b",
]
])
```
### Set Difference (Symmetric Difference)
```
> setunion(setsubtract(["a", "b", "c"], ["a", "c", "d"]), setsubtract(["a", "c", "d"], ["a", "b", "c"]))
[
toset([
"b",
"d",
]
])
```
## Related Functions

Loading…
Cancel
Save