How to validate a moment.js duration?
<p>It seems like only a moment() object has a isValid() method to check the validity of the provided data. Is there any equivalent for the moment.duration() object? Because isValid() does not seem to exist on durations.</p>