add Set Difference operation

This commit is contained in:
d98762625 2018-04-09 10:23:05 +01:00
parent 03ecaa81f7
commit 852c95a994
9 changed files with 176 additions and 6 deletions

View file

@ -210,6 +210,25 @@
}
]
},
"Set Difference": {
"module": "Default",
"description": "Get the Difference of two sets",
"inputType": "string",
"outputType": "string",
"flowControl": false,
"args": [
{
"name": "Sample delimiter",
"type": "binaryString",
"value": "\\n\\n"
},
{
"name": "Item delimiter",
"type": "binaryString",
"value": ","
}
]
},
"Set Intersection": {
"module": "Default",
"description": "Get the intersection of two sets",

View file

@ -9,6 +9,7 @@ import FromBase32 from "../../operations/FromBase32";
import FromBase64 from "../../operations/FromBase64";
import FromHex from "../../operations/FromHex";
import RawDeflate from "../../operations/RawDeflate";
import SetDifference from "../../operations/SetDifference";
import SetIntersection from "../../operations/SetIntersection";
import SetOps from "../../operations/SetOps";
import SetUnion from "../../operations/SetUnion";
@ -24,6 +25,7 @@ OpModules.Default = {
"From Base64": FromBase64,
"From Hex": FromHex,
"Raw Deflate": RawDeflate,
"Set Difference": SetDifference,
"Set Intersection": SetIntersection,
"": SetOps,
"Set Union": SetUnion,