MCPcopy
hub / github.com/logamee/lin-ui / isDateInCurrent

Function isDateInCurrent

src/calendar/components/mounth/index.js:108–113  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

106 },
107
108 isDateInCurrent(date) {
109 const { currentDate } = this.data;
110 return currentDate.some(item => {
111 return compareDay(item, date) === 0;
112 });
113 },
114
115 getMultipleDayType(date) {
116 const { currentDate } = this.data;

Callers

nothing calls this directly

Calls 1

compareDayFunction · 0.90

Tested by

no test coverage detected