IsTomorrow
IsTomorrow 添加 .isTomorrow()
API 来指示 Day.js 对象是否是明天。
¥IsTomorrow adds .isTomorrow()
API to indicates whether the Day.js object is tomorrow or not.
var isTomorrow = require("dayjs/plugin/isTomorrow");
// import isTomorrow from 'dayjs/plugin/isTomorrow' // ES 2015
dayjs.extend(isTomorrow);
dayjs().add(1, "day").isTomorrow(); // true