MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / weekdaysMinRegex

Function weekdaysMinRegex

tests/test_code/js/moment/moment.js:1789–1807  ·  view source on GitHub ↗
(isStrict)

Source from the content-addressed store, hash-verified

1787 }
1788
1789 function weekdaysMinRegex(isStrict) {
1790 if (this._weekdaysParseExact) {
1791 if (!hasOwnProp(this, '_weekdaysRegex')) {
1792 computeWeekdaysParse.call(this);
1793 }
1794 if (isStrict) {
1795 return this._weekdaysMinStrictRegex;
1796 } else {
1797 return this._weekdaysMinRegex;
1798 }
1799 } else {
1800 if (!hasOwnProp(this, '_weekdaysMinRegex')) {
1801 this._weekdaysMinRegex = defaultWeekdaysMinRegex;
1802 }
1803 return this._weekdaysMinStrictRegex && isStrict
1804 ? this._weekdaysMinStrictRegex
1805 : this._weekdaysMinRegex;
1806 }
1807 }
1808
1809 function computeWeekdaysParse() {
1810 function cmpLenRev(a, b) {

Callers

nothing calls this directly

Calls 1

hasOwnPropFunction · 0.85

Tested by

no test coverage detected