* Focuses **all elements** of an array-like focus and optionally narrows * to a subset using an element-level optic. * Available only on Traversal (i.e. when `A` is * `ReadonlyArray `). Returns a new Traversal focused on the * selected elements. * * **Details** *
(this: Traversal<S, A>, f: (iso: Iso<A, A>) => Optional<A, B>)
| 839 | * @see `.modifyAll()` — apply a function to every focused element |
| 840 | */ |
| 841 | forEach<S, A, B>(this: Traversal<S, A>, f: (iso: Iso<A, A>) => Optional<A, B>): Traversal<S, B> |
| 842 | |
| 843 | /** |
| 844 | * Applies a function to **every** element focused by the traversal. |
no outgoing calls