function stripUnit(value) {
    if (typeof value !== 'string') return value;
    var matchedValue = value.match(cssRegex$1);
    return matchedValue ? parseFloat(value) : value;
  }
Returns a given CSS value minus its unit of measure.

@example
// Styles as object usage
const styles = {
  '--dimension': stripUnit('100px')
}

// styled-components usage
const div = styled.div`
  --dimension: ${stripUnit('100px')};
`

// CSS in JS Output

element {
  '--dimension': 100
}