(predicate: Predicate<In>)
| 854 | * @since 2.0.0 |
| 855 | */ |
| 856 | export const every = <In>(predicate: Predicate<In>): Sink<boolean, In, In> => |
| 857 | fold( |
| 858 | constTrue, |
| 859 | identity, |
| 860 | (_, a) => Effect.succeed(predicate(a)) |
| 861 | ) |
| 862 | |
| 863 | /** |
| 864 | * A sink that returns whether an element satisfies the specified predicate. |