(collection: Iterable<boolean>)
| 376 | * @since 2.0.0 |
| 377 | */ |
| 378 | export const every = (collection: Iterable<boolean>): boolean => { |
| 379 | for (const b of collection) { |
| 380 | if (!b) { |
| 381 | return false |
| 382 | } |
| 383 | } |
| 384 | return true |
| 385 | } |
| 386 | |
| 387 | /** |
| 388 | * Checks whether at least one boolean in a collection is `true`. |
nothing calls this directly
no outgoing calls
no test coverage detected