Fray Electron
    Preparing search index...

    Function splitScrubbingText

    • Splits text into a number and unit without judging whether the unit is allowed.

      Parameters

      • text: string

        Text such as "10", "10px" or "50%".

      Returns ScrubbingParts | null

      The parts, or null when the text is not numeric.