Sdr.union
You're seeing just the function
union
, go back to Sdr module for more information.
Union of two SDRs.
Examples
iex(1)> Sdr.union(MapSet.new([1, 2]), MapSet.new([2, 3]))
#MapSet<[1, 2, 3]>
Use MapSet.size/1 to get the length of the MapSet. Use MapSet.to_list/1 to convert it to a list.