* Filters out `undefined` from the focus, producing a Prism. * `getResult` fails when the focus is `undefined`. * * **Example** (Filtering undefined values) * * ```ts import.meta.vitest * import { Optic, Result } from "effect" * * const _defined = Optic.id<number | un
(this: Prism<S, A>)
| 795 | * @since 4.0.0 |
| 796 | */ |
| 797 | notUndefined<S, A>(this: Prism<S, A>): Prism<S, Exclude<A, undefined>> |
| 798 | notUndefined<S, A>(this: Optional<S, A>): Optional<S, Exclude<A, undefined>> |
| 799 | |
| 800 | /** |
no outgoing calls
no test coverage detected