it was broken with my irresponsibility

This commit is contained in:
2023-11-30 18:37:55 +04:00
parent b23a769a8c
commit cefe8c2136
2861 changed files with 295529 additions and 0 deletions

22
Library/node_modules/is-date-object/index.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
'use strict';
var getDay = Date.prototype.getDay;
var tryDateObject = function tryDateGetDayCall(value) {
try {
getDay.call(value);
return true;
} catch (e) {
return false;
}
};
var toStr = Object.prototype.toString;
var dateClass = '[object Date]';
var hasToStringTag = require('has-tostringtag/shams')();
module.exports = function isDateObject(value) {
if (typeof value !== 'object' || value === null) {
return false;
}
return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
};