Merge pull request #31920 from robpickerill/main

update setsubtract examples to include toset notation
This commit is contained in:
Rose M Koron 2023-05-05 15:41:51 -07:00 committed by GitHub
commit 6eee1ba44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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