list2set

SpecialNodes list2set

input ports:
Name Type Description Optional

input

list<?0>

input collection

no

output ports:
Name Type Description Optional

output

set<?0>

output collection

no

list2set converts the list to an input set with the same elements. Note that repeated elements in the list occur only once in the set – that is the nature of sets. The order of elements in the set is not affected by the ordering of the input vector; it is the collation order of the element type. For numbers, it is their magnitude when their bit pattern is interpreted as unsigned. For strings, it is lexicographic ordering. For all other objects, it is address ordering, and address ordering is not in general the same from run to run. Only unsigned integers, non-negative signed integers, and strings are "sorted" in the ordinary sense of the word by building a set over them.