@adbl/cells 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/classes.js +9 -0
- package/package.json +1 -1
package/library/classes.js
CHANGED
|
@@ -918,6 +918,15 @@ function deepEqual(a, b) {
|
|
|
918
918
|
)
|
|
919
919
|
return false;
|
|
920
920
|
|
|
921
|
+
if (a instanceof Date) {
|
|
922
|
+
if (!(b instanceof Date)) {
|
|
923
|
+
return false;
|
|
924
|
+
}
|
|
925
|
+
if (a.getTime() !== b.getTime()) {
|
|
926
|
+
return false;
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
|
|
921
930
|
if (Array.isArray(a)) {
|
|
922
931
|
const aLength = a.length;
|
|
923
932
|
if (!Array.isArray(b) || aLength !== b.length) return false;
|