(inp, sign)
| 3518 | createDuration.invalid = createInvalid$1; |
| 3519 | |
| 3520 | function parseIso(inp, sign) { |
| 3521 | // We'd normally use ~~inp for this, but unfortunately it also |
| 3522 | // converts floats to ints. |
| 3523 | // inp may be undefined, so careful calling replace on it. |
| 3524 | var res = inp && parseFloat(inp.replace(',', '.')); |
| 3525 | // apply sign while we're at it |
| 3526 | return (isNaN(res) ? 0 : res) * sign; |
| 3527 | } |
| 3528 | |
| 3529 | function positiveMomentsDifference(base, other) { |
| 3530 | var res = {}; |