Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ approxEqual
Function
approxEqual
src/tools/shape-magic/computeBridges.js:5–5 ·
view source on GitHub ↗
(a, b, tol = 1)
Source
from the content-addressed store, hash-verified
3
};
4
5
const
approxEqual = (a, b, tol = 1) => Math.abs(a - b) <= tol;
6
7
export
const
computeCornerRadii = (shapes, globalRadius, tolerance = 1) => {
8
const
result = {};
Callers
2
computeCornerRadii
Function · 0.85
computeBridges
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected