MCPcopy
hub / github.com/livebud/bud / stringToBigInt

Function stringToBigInt

package/svelte/compiler.js:4419–4424  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

4417 return parseFloat(str.replace(/_/g, ""));
4418 }
4419 function stringToBigInt(str) {
4420 if (typeof BigInt !== "function") {
4421 return null;
4422 }
4423 return BigInt(str.replace(/_/g, ""));
4424 }
4425 pp$9.readRadixNumber = function(radix) {
4426 var start = this.pos;
4427 this.pos += 2;

Callers 1

compiler.jsFile · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected