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

Function make

packages/effect/src/internal/schedule/interval.ts:22–31  ·  view source on GitHub ↗
(startMillis: number, endMillis: number)

Source from the content-addressed store, hash-verified

20
21/** @internal */
22export const make = (startMillis: number, endMillis: number): Interval.Interval => {
23 if (startMillis > endMillis) {
24 return empty
25 }
26 return {
27 [IntervalTypeId]: IntervalTypeId,
28 startMillis,
29 endMillis
30 }
31}
32
33/** @internal */
34export const lessThan = dual<

Callers 3

interval.tsFile · 0.70
afterFunction · 0.70
beforeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected