(predicate: Predicate<In>)
| 894 | * @since 2.0.0 |
| 895 | */ |
| 896 | export const every = <In>(predicate: Predicate<In>): Sink<boolean, In, In> => |
| 897 | fold( |
| 898 | constTrue, |
| 899 | identity, |
| 900 | (_, a) => Effect.succeed(predicate(a)) |
| 901 | ) |
| 902 | |
| 903 | /** |
| 904 | * A sink that returns whether an element satisfies the specified predicate. |