update setsubtract examples to include toset notation

pull/31920/head
Rob Pickerill 4 years ago
parent 0803ea3f4a
commit 5d2e888e96

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