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

Function product

repos/effect/packages/effect/src/Option.ts:1634–1635  ·  view source on GitHub ↗
(self: Option<A>, that: Option<B>)

Source from the content-addressed store, hash-verified

1632 if (Symbol.iterator in input) {
1633 const out: Array<Option<any>> = []
1634 for (const o of (input as Iterable<Option<any>>)) {
1635 if (isNone(o)) {
1636 return none()
1637 }
1638 out.push(o.value)

Callers 2

Option.test.tsFile · 0.85
Option.tsFile · 0.85

Calls 3

isSomeFunction · 0.85
someFunction · 0.70
noneFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…