Collection extensions

where

collection · standard futureprog, computer function, computer program

Returns: Collection (Same Type)

The WHERE function runs the inner function (which must return a boolean) over all items in the collection, and returns a new collection that only contain whichever items were TRUE from the inner function.

For example, if you had a CHARACTER COLLECTION, you could run .Where(x, @x.Age >= 21) to get all characters who are 21 years or older.

← Back to Collection extensions