Splits a number with an optional unit, such as 0.25rem, 50%, or 2.
0.25rem
50%
2
Value as written.
The number and its unit (empty for a bare number), or undefined when the value is not a dimension.
undefined
Splits a number with an optional unit, such as
0.25rem,50%, or2.