MCPcopy Create free account
hub / github.com/effect-app/libs / some

Function some

repos/effect/packages/effect/src/Sink.ts:844–849  ·  view source on GitHub ↗
(predicate: Predicate<In>)

Source from the content-addressed store, hash-verified

842
843/**
844 * A sink that returns whether all elements satisfy the specified predicate.
845 *
846 * **When to use**
847 *
848 * Use to reduce a stream to a boolean that is true only when every input
849 * satisfies a pure predicate.
850 *
851 * @see {@link some} for the dual any-match check
852 *

Callers 13

fromIterableFunction · 0.70
Option.tsFile · 0.70
fromNullishOrFunction · 0.70
fromUndefinedOrFunction · 0.70
fromNullOrFunction · 0.70
liftThrowableFunction · 0.70
productFunction · 0.70
productManyFunction · 0.70
allFunction · 0.70
genFunction · 0.70
makeReducerFunction · 0.70
makeCombinerFailFastFunction · 0.70

Calls 3

foldFunction · 0.85
predicateFunction · 0.85
succeedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…