@firestitch/common 12.5.3 → 12.5.4
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/bundles/firestitch-common.umd.js +5 -0
- package/bundles/firestitch-common.umd.js.map +1 -1
- package/esm2015/libs/util/index.js +2 -1
- package/esm2015/libs/util/is-object/index.js +2 -0
- package/esm2015/libs/util/is-object/is-object.js +4 -0
- package/fesm2015/firestitch-common.js +5 -1
- package/fesm2015/firestitch-common.js.map +1 -1
- package/libs/util/index.d.ts +1 -0
- package/libs/util/is-object/index.d.ts +1 -0
- package/libs/util/is-object/is-object.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1465,6 +1465,10 @@
|
|
|
1465
1465
|
return str.length && !!str.match(/^-?\d*\.?\d*$/);
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
+
function isObject(value) {
|
|
1469
|
+
return !!value && typeof value === 'object';
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1468
1472
|
function throttle(func, wait) {
|
|
1469
1473
|
var waiting = false; // Initially, we're not waiting
|
|
1470
1474
|
return function () {
|
|
@@ -2169,6 +2173,7 @@
|
|
|
2169
2173
|
exports.isClass = isClass;
|
|
2170
2174
|
exports.isEmpty = isEmpty;
|
|
2171
2175
|
exports.isNumeric = isNumeric;
|
|
2176
|
+
exports.isObject = isObject;
|
|
2172
2177
|
exports.keyExists = keyExists;
|
|
2173
2178
|
exports.keyboardShortcut = keyboardShortcut;
|
|
2174
2179
|
exports.ksort = ksort;
|