How to do a greater than or equal to with moments (moment.js) in javascript?
You can use the isSameOrAfter
method in momentjs:
moment1.isSameOrAfter(moment2);
Okay, I just went with the moment.js .diff()
function.
myMoment.diff(yourMoment) >= 0
Close enough.