Interface ArrayMethods<T>
Methods
factoryFilter
- factoryFilter<S>(callback: FilterCallback<T, S>, thisArg?: any): Generator<S, void, unknown>
- factoryFilter(callback: FilterCallback<T, unknown>, thisArg?: any): Generator<IterType<T>, void, unknown>
Type parameters
Parameters
Returns Generator<S, void, unknown>
Parameters
Returns Generator<IterType<T>, void, unknown>
factoryFlat
- factoryFlat<D>(depth?: D): Generator<FlatArray<IterType<T>[], D>, void, unknown>
Type parameters
Parameters
Returns Generator<FlatArray<IterType<T>[], D>, void, unknown>
factoryFlatMap
- factoryFlatMap<U>(callback: MapCallback<T, U>, thisArg?: any): Generator<U extends readonly InnerArr[] ? InnerArr : U, void, unknown>
Type parameters
Parameters
Returns Generator<U extends readonly InnerArr[] ? InnerArr : U, void, unknown>
factoryMap
- factoryMap<U>(callback: MapCallback<T, U>, thisArg?: any): Generator<U, void, unknown>
Type parameters
Parameters
Returns Generator<U, void, unknown>
Methods added to Array and ReadonlyArray interfaces