MCPcopy Create free account
hub / github.com/Effect-TS/effect / mergeBigIntConstraints

Function mergeBigIntConstraints

packages/effect/src/Arbitrary.ts:695–700  ·  view source on GitHub ↗
(c1: BigIntConstraints, c2: BigIntConstraints)

Source from the content-addressed store, hash-verified

693}
694
695function mergeBigIntConstraints(c1: BigIntConstraints, c2: BigIntConstraints): BigIntConstraints {
696 return makeBigIntConstraints({
697 min: getMax(c1.constraints.min, c2.constraints.min),
698 max: getMin(c1.constraints.max, c2.constraints.max)
699 })
700}
701
702function buildBigIntConstraints(description: BigIntKeyword): BigIntConstraints | undefined {
703 return description.constraints.length === 0

Callers

nothing calls this directly

Calls 3

makeBigIntConstraintsFunction · 0.85
getMaxFunction · 0.85
getMinFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…