MCPcopy
hub / github.com/antonycourtney/tad / contains

Function contains

packages/tadviewer/src/paging.ts:49–54  ·  view source on GitHub ↗
(
  offset: number,
  limit: number,
  top: number,
  bottom: number
)

Source from the content-addressed store, hash-verified

47 */
48
49export const contains = (
50 offset: number,
51 limit: number,
52 top: number,
53 bottom: number
54): boolean => (top >= offset && bottom < offset + limit) || bottom - top === 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected