(get: (s: S) => A, set: (a: A) => S)
| 98 | * @since 4.0.0 |
| 99 | */ |
| 100 | export function makeIso<S, A>(get: (s: S) => A, set: (a: A) => S): Iso<S, A> { |
| 101 | return make(primitiveNode("Iso", get, set)) |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * Focuses on exactly one part `A` inside a whole `S`. |
nothing calls this directly
no test coverage detected