dayjs-ext
Version:
2KB immutable date time library alternative to Moment.js with the same modern API
3 lines (2 loc) • 390 B
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.dayjs_plugin_isBetween=t()}(this,function(){"use strict";return function(e,t,o){t.prototype.isBetween=function(e,t){var i=o(e),n=o(t);return this.isAfter(i)&&this.isBefore(n)||this.isBefore(i)&&this.isAfter(n)}}});
//# sourceMappingURL=isBetween.js.map