Newer
Older
alert / js / node_modules / dayjs / esm / plugin / isLeapYear / index.js
@Réz István Réz István on 18 Nov 2021 181 bytes first commit
export default (function (o, c) {
  var proto = c.prototype;

  proto.isLeapYear = function () {
    return this.$y % 4 === 0 && this.$y % 100 !== 0 || this.$y % 400 === 0;
  };
});