Home Manual Reference Source

References

summary
public

F * compress(iterable: Iterable, selector: Iterable): Iterator

Filters the first input iterable according to truthy and flasy values from a second input iterable.

public

F * filter(predicate: Function, iterable: Iterable): IterableIterator

Yields all elements from input iterable that verify a given predicate.

public

F * filterfalse(predicate: Function, iterable: Iterable): IterableIterator

Yields all elements from input iterable that do not verify a given predicate.

public

V filtertrue: *

Same as filter.