Class: shaka.util.Iterables

Constructor

new Iterables()

Source:

Methods

(static) every(iterable, test) → {boolean}

Parameters:
Name Type Description
iterable !Iterable.<T> | !Iterator.<T>
test function(T):boolean
Source:
Returns:
Type
boolean

(static) map(iterable, mapping) → (non-null) {Iterable.<TO>}

Parameters:
Name Type Description
iterable !Iterable.<FROM> | !Iterator.<FROM>
mapping function(FROM):TO
Source:
Returns:
Type
Iterable.<TO>

(static) some(iterable, test) → {boolean}

Parameters:
Name Type Description
iterable !Iterable.<T> | !Iterator.<T>
test function(T):boolean
Source:
Returns:
Type
boolean