app

Undocumented in source.

Members

Functions

any
bool any(T[] source)

Checks if array contains one or more item that meets the condition

average
T average(T[] source)

Returns the average value of all items in the array

count
int count(T[] source)

Counts how many items meet the conditions

distinct
T[] distinct(T[] source)

Returns an array of distinct items

first
T first(T[] source)

Returns the first element in an array that meets the conditionition

firstOrDefault
T firstOrDefault(T[] source)

Returns the first element in an array that meets the conditionition

last
T last(T[] source)

Returns the last element in an array that meets the condition

longCount
long longCount(T[] source)

Counts how many items meet the conditions

main
void main()

Undocumented in source. Be warned that the author may not have intended to support it.

max
T max(T[] source)

Returns the largest item in the array

min
T min(T[] source)

Returns the smallest item in the array

orderBy
T[] orderBy(T[] source)

Sorts the elements of a sequence in ascending order according to a key

orderByDescending
T[] orderByDescending(T[] source)

Sorts the elements of a sequence in descending order according to a key

select
TResult[] select(TSource[] source)

Selects specified members from objects

sum
T sum(T[] source)

Retuns the sum of all values in the array

where
T[] where(T[] source)

Returns an array of elements that meet the condition

Meta