Class MappableGenerator<T>
Methods
Abstract [Symbol.iterator]
- [Symbol.iterator](): Generator<T>
every
- every(p: (v: T) => boolean): boolean
-
Parameters
-
p: (v: T) => boolean
-
-
Parameters
Returns boolean
Returns boolean
filter
- filter(p: (v: T) => boolean): T[]
-
Parameters
-
p: (v: T) => boolean
-
-
Parameters
Returns boolean
Returns T[]
forEach
- forEach(f: (v: T) => void): void
map
- map<V>(f: (v: T) => V): V[]
-
Type parameters
Parameters
Returns V[]
Abstract next
- next(): IteratorResult<T>
-
Returns IteratorResult<T>
Abstract return
- return(value: any): IteratorResult<T>
-
Parameters
Returns IteratorResult<T>
some
- some(p: (v: T) => boolean): boolean
-
Parameters
-
p: (v: T) => boolean
-
-
Parameters
Returns boolean
Returns boolean
Abstract throw
- throw(e: any): IteratorResult<T>
-
Parameters
Returns IteratorResult<T>