Function timeIntToString

  • Converts a time integer to a string.

    Parameters

    • ms: number

      The time in milliseconds to be converted.

    • msDelimiter: string = '.'

      The delimiter to be used in the resulting string. Defaults to '.'.

    Returns string

    The time as a string, formatted with the specified delimiter.

    Throws

    Will throw an error if the provided time integer is not valid.

    Example

    timeIntToString(1500, ':'); // Returns '1:500'
    

Generated using TypeDoc