Global

Methods


ALWAYS FALSE()

A default predicate function that always returns false.
Returns:
Always returns false.
Type
Boolean

ALWAYS TRUE()

A default predicate function that always returns true.
Returns:
Always returns true.
Type
Boolean

DEFAULT COMPARER()

A default equalityComparer function that uses default comparison.
Returns:
If the source and target are equal (is in == operator).
Type
boolean

RETURN SELF(item)

A default selector function that returns the element back.
Parameters:
Name Type Description
item * The item that will be projected back.
Returns:
The supplied value itself as is.
Type
*

Type Definitions


aggregator(aggregate, item)

Parameters:
Name Type Description
aggregate * The aggregated value.
item * Indivisual item in the sequence.
Returns:
The aggregated value.
Type
*

equalityComparer(source, target)

Parameters:
Name Type Description
source * Indivisual item in the sequence.
target * Target element to compare with.
Returns:
If the source and target are equal.
Type
boolean

predicate(item)

Parameters:
Name Type Description
item * Indivisual item in the sequence.
Returns:
If the item satisfies the filter criteria.
Type
boolean

selector(item)

Parameters:
Name Type Description
item * Indivisual item in the sequence.
Returns:
The transformed item.
Type
*