Skip to content

TimeComponent.valueToString method

TimeComponent › valueToString

Converts a time to a string.

Signature:

valueToString(value: moment.Duration): string

Parameters:

ParameterTypeDescription
valuemoment.DurationThe time to convert.

Returns: stringThe string.