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

Function between

packages/effect/src/SemVerRange.ts:427–428  ·  view source on GitHub ↗
(options: { readonly minimum: VersionInput; readonly maximum: VersionInput })

Source from the content-addressed store, hash-verified

425 * @since 4.0.6
426 */
427export const between = (options: { readonly minimum: VersionInput; readonly maximum: VersionInput }): SemVerRange =>
428 makeRange([[comparator(">=", options.minimum), comparator("<=", options.maximum)]])
429
430const formatPartial = (self: PartialVersion): string => {
431 if (self.components.length === 0) return "*"

Callers 2

Order.test.tsFile · 0.50
CodePoints.test.tsFile · 0.50

Calls 2

makeRangeFunction · 0.85
comparatorFunction · 0.85

Tested by

no test coverage detected