Function
| Static Public Summary | ||
| public |
chain(iterables: *, out: *): * |
|
| public |
combinations(iterable: *, repeat: *, out: *): * |
|
| public |
combinationswithrepetition(iterable: *, r: *, out: *): * |
|
| public |
compress(iterable: *, selector: *, out: *): * |
|
| public |
dropwhile(predicate: *, iterable: *, out: *): * |
|
| public |
each(callback: *, array: *, left: *, right: *) |
|
| public |
enumerate(iterable: *, out: *): * |
|
| public |
filter(predicate: *, iterable: *, out: *): * |
|
| public |
filterfalse(predicate: *, iterable: *, out: *): * |
|
| public |
get(a: *, i: *): * |
|
| public |
group(key: *, iterable: *, out: *): * |
|
| public |
islice(iterable: *, start: *, stop: *, step: *, out: *): * |
|
| public |
map(callable: *, iterable: *, out: *): * Maps a callable object over an array. |
|
| public |
permutations(iterable: *, repeat: *, out: *): * |
|
| public |
pick(array: *, indices: *, out: *): * |
|
| public |
product(iterables: *, repeat: *, out: *): * |
|
| public |
range(start: *, stop: *, step: *, out: *): * |
|
| public |
repeat(element: *, times: *, out: *): * |
|
| public |
repr(array: *, left: *, right: *): * |
|
| public |
reversed(iterable: *, out: *): * |
|
| public |
set(a: *, i: *, v: *) |
|
| public |
slice(array: *, left: *, right: *): * |
|
| public |
sort(f: *, array: *): * |
|
| public |
sorted(f: *, iterable: *): * |
|
| public |
splice(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * |
|
| public |
starmap(callable: *, iterable: *, out: *): * Maps a callable object over an array. |
|
| public |
takewhile(predicate: *, iterable: *, out: *): * |
|
| public |
tee(iterable: *, n: *, out: *): * |
|
| public |
zip(iterables: *, out: *): * |
|
Static Public
public chain(iterables: *, out: *): * source
import {chain} from '@array-like/experimental/src/map/chain.js'Params:
| Name | Type | Attribute | Description |
| iterables | * | ||
| out | * |
Return:
| * |
public combinations(iterable: *, repeat: *, out: *): * source
import {combinations} from '@array-like/experimental/src/map/combinations.js'Params:
| Name | Type | Attribute | Description |
| iterable | * | ||
| repeat | * | ||
| out | * |
Return:
| * |
public combinationswithrepetition(iterable: *, r: *, out: *): * source
import {combinationswithrepetition} from '@array-like/experimental/src/map/combinationswithrepetition.js'Params:
| Name | Type | Attribute | Description |
| iterable | * | ||
| r | * | ||
| out | * |
Return:
| * |
public compress(iterable: *, selector: *, out: *): * source
import {compress} from '@array-like/experimental/src/map/compress.js'Params:
| Name | Type | Attribute | Description |
| iterable | * | ||
| selector | * | ||
| out | * |
Return:
| * |
public dropwhile(predicate: *, iterable: *, out: *): * source
import {dropwhile} from '@array-like/experimental/src/map/dropwhile.js'Params:
| Name | Type | Attribute | Description |
| predicate | * | ||
| iterable | * | ||
| out | * |
Return:
| * |
public each(callback: *, array: *, left: *, right: *) source
import {each} from '@array-like/experimental/src/each.js'Params:
| Name | Type | Attribute | Description |
| callback | * | ||
| array | * | ||
| left | * | ||
| right | * |
public enumerate(iterable: *, out: *): * source
import {enumerate} from '@array-like/experimental/src/map/enumerate.js'Params:
| Name | Type | Attribute | Description |
| iterable | * | ||
| out | * |
Return:
| * |
public filter(predicate: *, iterable: *, out: *): * source
import {filter} from '@array-like/experimental/src/map/filter.js'Params:
| Name | Type | Attribute | Description |
| predicate | * | ||
| iterable | * | ||
| out | * |
Return:
| * |
public filterfalse(predicate: *, iterable: *, out: *): * source
import {filterfalse} from '@array-like/experimental/src/map/filterfalse.js'Params:
| Name | Type | Attribute | Description |
| predicate | * | ||
| iterable | * | ||
| out | * |
Return:
| * |
public get(a: *, i: *): * source
import {get} from '@array-like/experimental/src/get.js'Params:
| Name | Type | Attribute | Description |
| a | * | ||
| i | * |
Return:
| * |
public group(key: *, iterable: *, out: *): * source
import {group} from '@array-like/experimental/src/map/group.js'Params:
| Name | Type | Attribute | Description |
| key | * | ||
| iterable | * | ||
| out | * |
Return:
| * |
public islice(iterable: *, start: *, stop: *, step: *, out: *): * source
import {islice} from '@array-like/experimental/src/map/islice.js'Params:
| Name | Type | Attribute | Description |
| iterable | * | ||
| start | * | ||
| stop | * | ||
| step | * | ||
| out | * |
Return:
| * |
public map(callable: *, iterable: *, out: *): * source
import {map} from '@array-like/experimental/src/map/map.js'Maps a callable object over an array.
/!\ currently only supports a (function, array) tuple as argument
Params:
| Name | Type | Attribute | Description |
| callable | * | ||
| iterable | * | ||
| out | * |
Return:
| * |
public permutations(iterable: *, repeat: *, out: *): * source
import {permutations} from '@array-like/experimental/src/map/permutations.js'Params:
| Name | Type | Attribute | Description |
| iterable | * | ||
| repeat | * | ||
| out | * |
Return:
| * |
public pick(array: *, indices: *, out: *): * source
import {pick} from '@array-like/experimental/src/utils/pick.js'Params:
| Name | Type | Attribute | Description |
| array | * | ||
| indices | * | ||
| out | * |
Return:
| * |
public product(iterables: *, repeat: *, out: *): * source
import {product} from '@array-like/experimental/src/map/product.js'Params:
| Name | Type | Attribute | Description |
| iterables | * | ||
| repeat | * | ||
| out | * |
Return:
| * |
public range(start: *, stop: *, step: *, out: *): * source
import {range} from '@array-like/experimental/src/utils/range.js'Params:
| Name | Type | Attribute | Description |
| start | * | ||
| stop | * | ||
| step | * | ||
| out | * |
Return:
| * |
public repeat(element: *, times: *, out: *): * source
import {repeat} from '@array-like/experimental/src/map/repeat.js'Params:
| Name | Type | Attribute | Description |
| element | * | ||
| times | * | ||
| out | * |
Return:
| * |
public repr(array: *, left: *, right: *): * source
import {repr} from '@array-like/experimental/src/repr.js'Params:
| Name | Type | Attribute | Description |
| array | * | ||
| left | * | ||
| right | * |
Return:
| * |
public reversed(iterable: *, out: *): * source
import {reversed} from '@array-like/experimental/src/map/reversed.js'Params:
| Name | Type | Attribute | Description |
| iterable | * | ||
| out | * |
Return:
| * |
public set(a: *, i: *, v: *) source
import {set} from '@array-like/experimental/src/set.js'Params:
| Name | Type | Attribute | Description |
| a | * | ||
| i | * | ||
| v | * |
public slice(array: *, left: *, right: *): * source
import {slice} from '@array-like/experimental/src/slice.js'Params:
| Name | Type | Attribute | Description |
| array | * | ||
| left | * | ||
| right | * |
Return:
| * |
public sort(f: *, array: *): * source
import {sort} from '@array-like/experimental/src/sort.js'Params:
| Name | Type | Attribute | Description |
| f | * | ||
| array | * |
Return:
| * |
public sorted(f: *, iterable: *): * source
import {sorted} from '@array-like/experimental/src/map/sorted.js'Params:
| Name | Type | Attribute | Description |
| f | * | ||
| iterable | * |
Return:
| * |
public splice(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * source
import {splice} from '@array-like/experimental/src/splice.js'Params:
| Name | Type | Attribute | Description |
| a | * | ||
| ai | * | ||
| aj | * | ||
| b | * | ||
| bi | * | ||
| bj | * |
Return:
| * |
public starmap(callable: *, iterable: *, out: *): * source
import {starmap} from '@array-like/experimental/src/map/starmap.js'Maps a callable object over an array.
/!\ currently only supports a (function, array) tuple as argument
Params:
| Name | Type | Attribute | Description |
| callable | * | ||
| iterable | * | ||
| out | * |
Return:
| * |
public takewhile(predicate: *, iterable: *, out: *): * source
import {takewhile} from '@array-like/experimental/src/map/takewhile.js'Params:
| Name | Type | Attribute | Description |
| predicate | * | ||
| iterable | * | ||
| out | * |
Return:
| * |
public tee(iterable: *, n: *, out: *): * source
import {tee} from '@array-like/experimental/src/utils/tee.js'Params:
| Name | Type | Attribute | Description |
| iterable | * | ||
| n | * | ||
| out | * |
Return:
| * |
public zip(iterables: *, out: *): * source
import {zip} from '@array-like/experimental/src/map/zip.js'Params:
| Name | Type | Attribute | Description |
| iterables | * | ||
| out | * |
Return:
| * |
