Function convertMany

  • Convert several values in a string into a single unit.

    Parameters

    • value: string

      The string to parse as values

    Returns Converter<number, Unit>

    Example

    convertMany('1d 12h').to('hours') === 36;
    

Generated using TypeDoc