/
githubmirror
/
dayjs
Обзор
Документация
Войти
/
githubmirror
/
dayjs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/plugin/isSameOrBefore/index.js
5 строк
155 B
Horst Schneider
Add plugin advancedCompare (#404)
11 дек 2018, 13:18
11 дек 2018, 13:18
616bf1a
Код
Авторство
О чём код?
export default (o, c) => { c.prototype.isSameOrBefore = function (that, units) { return this.isSame(that, units) || this.isBefore(that, units) } }