UNPKG

bs-platform

Version:

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

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