@nhtio/encoder 0.1.0-master-492fadb0 → 0.1.0-master-1c669c73
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/{exceptions-MW3dkAUt.mjs → exceptions-CHEKApsb.mjs} +2 -2
- package/{exceptions-MW3dkAUt.mjs.map → exceptions-CHEKApsb.mjs.map} +1 -1
- package/{exceptions-BfKyCF4p.js → exceptions-DWZQlMyh.js} +2 -2
- package/{exceptions-BfKyCF4p.js.map → exceptions-DWZQlMyh.js.map} +1 -1
- package/exceptions.cjs +1 -1
- package/exceptions.mjs +1 -1
- package/function_serializer.cjs +1 -1
- package/function_serializer.mjs +1 -1
- package/index.cjs +6 -6
- package/index.mjs +6 -6
- package/package.json +1 -1
- package/{type_guards-D1YzZ13G.js → type_guards-DLvYdK9d.js} +7 -4
- package/{type_guards-D1YzZ13G.js.map → type_guards-DLvYdK9d.js.map} +1 -1
- package/{type_guards-BAhiOypL.mjs → type_guards-zVeNM-tg.mjs} +7 -4
- package/{type_guards-BAhiOypL.mjs.map → type_guards-zVeNM-tg.mjs.map} +1 -1
- package/type_guards.cjs +1 -1
- package/type_guards.mjs +1 -1
|
@@ -124026,19 +124026,22 @@ const isLuxonDateTime = (value) => {
|
|
|
124026
124026
|
if (value instanceof DateTime$1) return true;
|
|
124027
124027
|
if ("object" !== typeof value || null === value) return false;
|
|
124028
124028
|
if (!("isLuxonDateTime" in value)) return false;
|
|
124029
|
-
|
|
124029
|
+
if (value.isLuxonDateTime !== true) return false;
|
|
124030
|
+
return typeof value.toMillis === "function";
|
|
124030
124031
|
};
|
|
124031
124032
|
const isLuxonDuration = (value) => {
|
|
124032
124033
|
if (value instanceof Duration$1) return true;
|
|
124033
124034
|
if ("object" !== typeof value || null === value) return false;
|
|
124034
124035
|
if (!("isLuxonDuration" in value)) return false;
|
|
124035
|
-
|
|
124036
|
+
if (value.isLuxonDuration !== true) return false;
|
|
124037
|
+
return typeof value.toMillis === "function";
|
|
124036
124038
|
};
|
|
124037
124039
|
const isLuxonInterval = (value) => {
|
|
124038
124040
|
if (value instanceof Interval$1) return true;
|
|
124039
124041
|
if ("object" !== typeof value || null === value) return false;
|
|
124040
124042
|
if (!("isLuxonInterval" in value)) return false;
|
|
124041
|
-
|
|
124043
|
+
if (value.isLuxonInterval !== true) return false;
|
|
124044
|
+
return typeof value.toDuration === "function";
|
|
124042
124045
|
};
|
|
124043
124046
|
const isLucidBinaryValue = (value) => {
|
|
124044
124047
|
if (value instanceof Uint8Array) return true;
|
|
@@ -124147,4 +124150,4 @@ export {
|
|
|
124147
124150
|
isInstanceOf as y,
|
|
124148
124151
|
isNumber as z
|
|
124149
124152
|
};
|
|
124150
|
-
//# sourceMappingURL=type_guards-
|
|
124153
|
+
//# sourceMappingURL=type_guards-zVeNM-tg.mjs.map
|