MCPcopy Create free account
hub / github.com/microsoft/SandDance / parseMicroseconds

Function parseMicroseconds

docs/app/js/sanddance-app.js:112693–112696  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

112691 return n ? (d.L = +n[0], i + n[0].length) : -1;
112692}
112693function parseMicroseconds(d, string, i) {
112694 var n = numberRe.exec(string.slice(i, i + 6));
112695 return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;
112696}
112697function parseLiteralPercent(d, string, i) {
112698 var n = percentRe.exec(string.slice(i, i + 1));
112699 return n ? i + n[0].length : -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected