MCPcopy
hub / github.com/tdewolff/minify / parseIsoWeekday

Function parseIsoWeekday

_benchmarks/sample_moment.js:1590–1595  ·  view source on GitHub ↗
(input, locale)

Source from the content-addressed store, hash-verified

1588 }
1589
1590 function parseIsoWeekday(input, locale) {
1591 if (typeof input === 'string') {
1592 return locale.weekdaysParse(input) % 7 || 7;
1593 }
1594 return isNaN(input) ? null : input;
1595 }
1596
1597 // LOCALES
1598 function shiftWeekdays(ws, n) {

Callers 1

getSetISODayOfWeekFunction · 0.85

Calls 1

isNaNFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…