()
| 1064 | return this.compose(makeLens(Struct.omit(keys), (o, a) => ({ ...a, ...o }))) |
| 1065 | } |
| 1066 | notUndefined(): any { |
| 1067 | return this.refine(Predicate.isNotUndefined, { expected: "a value other than `undefined`" }) |
| 1068 | } |
| 1069 | forEach<S, A, B>(this: Traversal<S, A>, f: (iso: Iso<A, A>) => Optional<A, B>): Traversal<S, B> { |
| 1070 | const inner = f(id<A>()) |
| 1071 | return makeOptional<S, ReadonlyArray<B>>( |