(value: A)
| 1147 | |
| 1148 | /** @internal */ |
| 1149 | export const fromNullishOr = <A>(value: A): Effect.Effect<NonNullable<A>, Cause.NoSuchElementError> => |
| 1150 | value == null ? fail(new NoSuchElementError()) : succeed(value) |
| 1151 | |
| 1152 | /** @internal */ |
| 1153 | export const yieldNowWith: (priority?: number) => Effect.Effect<void> = makePrimitive({ |