UNPKG

@attio/react-native-bottom-sheet-toolbox

Version:
9 lines (7 loc) 201 B
"use strict"; export function getPercentageValue(v) { "worklet"; if (v.at(-1) !== "%") return null; return parseInt(v.slice(0, -1), 10) / 100; } //# sourceMappingURL=get-percentage-value.js.map