Skip to content

DurationTransformer.restoreValue method

DurationTransformer › restoreValue

Restores the value from a string.

Signature:

restoreValue(transformedValue: string): moment.Duration

Parameters:

ParameterTypeDescription
transformedValuestringThe string to restore the value from.

Returns: moment.DurationThe restored value.