Convert input to a set< T >.
Parameters:
Returns:
set<T> - Value as a set.
set<T>
Usages:
toSet( v:list<T> ) : set<T>