@simcups/swiss-tools 1.0.13 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simcups/swiss-tools",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Slim utility.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -1,2 +0,0 @@
1
- export declare function formatSignedNumber(myNumber: number): string;
2
- //# sourceMappingURL=get-number-with-sign.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-number-with-sign.d.ts","sourceRoot":"","sources":["../src/get-number-with-sign.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,UAIlD"}
@@ -1,6 +0,0 @@
1
- export function formatSignedNumber(myNumber) {
2
- return new Intl.NumberFormat("en-US", {
3
- signDisplay: "exceptZero",
4
- }).format(myNumber);
5
- }
6
- //# sourceMappingURL=get-number-with-sign.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-number-with-sign.js","sourceRoot":"","sources":["../src/get-number-with-sign.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,kBAAkB,CAAC,QAAgB;IACjD,OAAO,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;QACpC,WAAW,EAAE,YAAY;KAC1B,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AACtB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function hasVal(val: string | number | any): val is string;
2
- //# sourceMappingURL=has-vals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-vals.d.ts","sourceRoot":"","sources":["../src/has-vals.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,GAAG,GAAG,IAAI,MAAM,CAahE"}
package/dist/has-vals.js DELETED
@@ -1,14 +0,0 @@
1
- export function hasVal(val) {
2
- if (val === null ||
3
- val === undefined ||
4
- val === "null" ||
5
- val === "undefined" ||
6
- val === "" ||
7
- !String(val).trim()) {
8
- return false;
9
- }
10
- else {
11
- return true;
12
- }
13
- }
14
- //# sourceMappingURL=has-vals.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-vals.js","sourceRoot":"","sources":["../src/has-vals.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,MAAM,CAAC,GAA0B;IAC/C,IACE,GAAG,KAAK,IAAI;QACZ,GAAG,KAAK,SAAS;QACjB,GAAG,KAAK,MAAM;QACd,GAAG,KAAK,WAAW;QACnB,GAAG,KAAK,EAAE;QACV,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EACnB,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;SAAM,CAAC;QACN,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const isNumber: (value: unknown) => value is number;
2
- //# sourceMappingURL=is-number.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-number.d.ts","sourceRoot":"","sources":["../src/is-number.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,MAElD,CAAC"}
package/dist/is-number.js DELETED
@@ -1,4 +0,0 @@
1
- export const isNumber = (value) => {
2
- return typeof value === 'number' && Number.isFinite(value);
3
- };
4
- //# sourceMappingURL=is-number.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-number.js","sourceRoot":"","sources":["../src/is-number.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAmB,EAAE;IACxD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC/D,CAAC,CAAC"}