Function toSet()
deduplicates the elements of a list type and converts to set, or takes a non-list type as the element of a set, and returns this set.
Arguments:
- Value <any>
Returns:
- Set <set>
Comman Usage
Example: Convert list [1,2,3,4,3,2] to set and return
return toSet([1,2,3,4,3,2])
[1,2,3,4]