time-to-botec/squiggle/node_modules/@rescript/std/lib/js/belt_Int.js

15 lines
191 B
JavaScript
Raw Normal View History

'use strict';
function fromString(i) {
var i$1 = parseInt(i, 10);
if (isNaN(i$1)) {
return ;
} else {
return i$1;
}
}
exports.fromString = fromString;
/* No side effect */