MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / isLength

Function isLength

src/test/resources/libraries/html2canvas/html2canvas.js:1601–1603  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

1599 };
1600
1601 var isLength = function (token) {
1602 return token.type === 17 /* NUMBER_TOKEN */ || token.type === 15 /* DIMENSION_TOKEN */;
1603 };
1604
1605 var isLengthPercentage = function (token) {
1606 return token.type === 16 /* PERCENTAGE_TOKEN */ || isLength(token);

Callers 5

isLengthPercentageFunction · 0.85
radialGradientFunction · 0.85
prefixRadialGradientFunction · 0.85
html2canvas.jsFile · 0.85
parseFunction · 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…