MCPcopy Index your code
hub / github.com/Effect-TS/effect / some

Function some

packages/effect/src/Boolean.ts:280–287  ·  view source on GitHub ↗
(collection: Iterable<boolean>)

Source from the content-addressed store, hash-verified

278 * @since 2.0.0
279 */
280export const some = (collection: Iterable<boolean>): boolean => {
281 for (const b of collection) {
282 if (b) {
283 return true
284 }
285 }
286 return false
287}

Callers 8

fromIterableFunction · 0.70
Option.tsFile · 0.70
fromNullableFunction · 0.70
liftThrowableFunction · 0.70
productFunction · 0.70
productManyFunction · 0.70
allFunction · 0.70
genFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected