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

Function isNumberStart

src/test/resources/libraries/html2canvas/html2canvas.js:942–953  ·  view source on GitHub ↗
(c1, c2, c3)

Source from the content-addressed store, hash-verified

940 return false;
941 };
942 var isNumberStart = function (c1, c2, c3) {
943 if (c1 === PLUS_SIGN || c1 === HYPHEN_MINUS) {
944 if (isDigit(c2)) {
945 return true;
946 }
947 return c2 === FULL_STOP && isDigit(c3);
948 }
949 if (c1 === FULL_STOP) {
950 return isDigit(c2);
951 }
952 return isDigit(c1);
953 };
954 var stringToNumber = function (codePoints) {
955 var c = 0;
956 var sign = 1;

Callers 1

html2canvas.jsFile · 0.85

Calls 1

isDigitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…