UNPKG

bs-platform

Version:

bucklescript compiler, ocaml standard libary by bucklescript and its required runtime support

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