CollectionUDF Library

Functions7 public, 0 private

Returns the length/size of the provided collection.
publicnumericcollectionLen
requiredanycollection
structOPTIONS{}
Reverses the provided Array.
publicarraycollectionReverse
requiredanycollection
Shrinks the provided collection to the specified size by removing elements.
publicanycollectionShrink
requiredanycollection
requirednumericsize
structOPTIONS{}
option"LAST", "RANDOM"methodLAST
Sorts the provided collection using the specified selector.
publicanycollectionSortBySelector
requiredanycollection
requiredstringselector
stringorderASC
Converts a data collection to an array.
publicarraycollectionToArray
Supported data types are: array, list/string, struct, query
requiredanycollection
structOPTIONS{}
Converts a data collection to a delimited list.
publicstringcollectionToList
Supported data types are: array, list/string, struct, query
requiredanycollection
stringdelimiters,
structOPTIONS{}
Converts a data collection to specified format.
publicanycollectionToData
requiredanycollection
requiredARRAY, LISTreturnType
structOPTIONS{}