Methods
every(iterablenon-null, test) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
iterable |
Iterable.<T> | |
test |
function(T):boolean |
- Source:
Returns:
- Type
- boolean
filter(iterablenon-null, filter) → {Array.<T>}
Iterate over an iterable object and return only the items that |filter|
returns true for.
Parameters:
Name | Type | Description |
---|---|---|
iterable |
Iterable.<T> | |
filter |
function(T):boolean |
- Source:
Returns:
- Type
- Array.<T>
map(iterablenon-null, mapping) → {Iterable.<TO>}
Parameters:
Name | Type | Description |
---|---|---|
iterable |
Iterable.<FROM> | |
mapping |
function(FROM):TO |
- Source:
Returns:
- Type
- Iterable.<TO>
some(iterablenon-null, test) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
iterable |
Iterable.<T> | |
test |
function(T):boolean |
- Source:
Returns:
- Type
- boolean