Function getUnit

  • Returns the unit of a string, it does this by removing the number in the string

    Source

    Source code of getUnit

    Parameters

    • str: string | number

    Returns string

Generated using TypeDoc