(inp, sign)
| 17797 | createDuration.invalid = createInvalid$1; |
| 17798 | |
| 17799 | function parseIso (inp, sign) { |
| 17800 | // We'd normally use ~~inp for this, but unfortunately it also |
| 17801 | // converts floats to ints. |
| 17802 | // inp may be undefined, so careful calling replace on it. |
| 17803 | var res = inp && parseFloat(inp.replace(',', '.')); |
| 17804 | // apply sign while we're at it |
| 17805 | return (isNaN(res) ? 0 : res) * sign; |
| 17806 | } |
| 17807 | |
| 17808 | function positiveMomentsDifference(base, other) { |
| 17809 | var res = {}; |