Is Leap Year
This indicates whether the Day.js object's year is a leap year or not.
This requires the
IsLeapYear
plugin to work
dayjs.extend(isLeapYear)
dayjs('2000-01-01').isLeapYear() // true
This indicates whether the Day.js object's year is a leap year or not.
This requires the
IsLeapYear
plugin to work
dayjs.extend(isLeapYear)
dayjs('2000-01-01').isLeapYear() // true