Collection extensions
select
Returns: Collection (Inner Type)
The SELECT function is used to transform a collection of one type of thing into a collection of something else. It will run the inner function over each item in the collection and return a collection of those items.
For example, if you have a CHARACTER COLLECTION and you run .Select(x, @x.Name) over the collection, it will instead be a TEXT COLLECTION containing all the character names.
The SELECT function is used to transform a collection of one type of thing into a collection of something else. It will run the inner function over each item in the collection and return a collection of those items.
For example, if you have a CHARACTER COLLECTION and you run .Select(x, @x.Name) over the collection, it will instead be a TEXT COLLECTION containing all the character names.