union

∪

return the union of given sets


Parameters

union setA :literal :pathliteral :block
      setB :block

Returns

  • :block
  • or  :nothing

Examples

copy
print union [1 2 3 4] [3 4 5 6] ; 1 2 3 4 5 6

copy
a: [1 2 3 4] b: [3 4 5 6] union 'a b ; a: [1 2 3 4 5 6]

Related