17 lines
171 B
JavaScript
17 lines
171 B
JavaScript
|
|
|
|
|
|
function fromString(i) {
|
|
var i$1 = parseInt(i, 10);
|
|
if (isNaN(i$1)) {
|
|
return ;
|
|
} else {
|
|
return i$1;
|
|
}
|
|
}
|
|
|
|
export {
|
|
fromString ,
|
|
}
|
|
/* No side effect */
|