( f: (...a: A) => Option.Option<B> )
| 4042 | * @since 2.0.0 |
| 4043 | */ |
| 4044 | export const liftOption = <A extends Array<unknown>, B>( |
| 4045 | f: (...a: A) => Option.Option<B> |
| 4046 | ) => |
| 4047 | (...a: A): Array<B> => fromOption(f(...a)) |
| 4048 | |
| 4049 | /** |
| 4050 | * Converts a nullable value to an array: `null`/`undefined` becomes `[]`, |