MCPcopy Index your code
hub / github.com/shipshapecode/tether / within

Function within

src/js/tether.js:45–47  ·  view source on GitHub ↗
(a, b, diff = 1)

Source from the content-addressed store, hash-verified

43}
44
45function within(a, b, diff = 1) {
46 return a + diff >= b && b >= a - diff;
47}
48
49const transformKey = (() => {
50 if (typeof document === 'undefined') {

Callers 1

moveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…