what-are-you 0.1.4 โ†’ 0.1.5

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.
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Gets a short value type name, which can be used in a message.
3
+ *
4
+ * @param value - The value to check.
5
+ */
6
+ export declare function getNiceTypeOf(value: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "null";
7
+ /**
8
+ * Describes an object's class, type, or constructor name to be used in a message.
9
+ *
10
+ * - ๐Ÿ“ฆ For an object, returns the name of its constructor or similar string.
11
+ * - โš™๏ธ For a function (or class), returns the function's name.
12
+ * - ๐Ÿ”  For other values, returns the `typeof` string via {@link getNiceTypeOf}.
13
+ *
14
+ * @param something - The value whose class name or type is to be determined.
15
+ */
16
+ export declare function getNiceClassName(something: any): any;
17
+ export declare function getObjectStringTag(object: any): any;
18
+ /**
19
+ * Gets the description of a symbol.
20
+ *
21
+ * @param symbol - The symbol to get the description of.
22
+ */
23
+ export declare function getSymbolDescription(symbol: symbol): string;
24
+ /**
25
+ * Gets a short string describing a value, to be used in a message.
26
+ *
27
+ * @param value - The value to describe.
28
+ */
29
+ export declare function getNiceValueName(value: any): string;
30
+ /**
31
+ * Gets the name of a function, or null if it has no name.
32
+ *
33
+ * @param func - The function to get the name of.
34
+ */
35
+ export declare function getFunctionName(func: Function): string | undefined;
36
+ //# sourceMappingURL=get-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-text.d.ts","sourceRoot":"","sources":["../../src/get-text.ts"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,wGAEvC;AACD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,GAAG,OAc9C;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,OAE7C;AACD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,UAElD;AAqBD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,UAuB1C;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,sBAE7C"}
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getNiceTypeOf = getNiceTypeOf;
4
+ exports.getNiceClassName = getNiceClassName;
5
+ exports.getObjectStringTag = getObjectStringTag;
6
+ exports.getSymbolDescription = getSymbolDescription;
7
+ exports.getNiceValueName = getNiceValueName;
8
+ exports.getFunctionName = getFunctionName;
9
+ const is_basic_js_1 = require("./is-basic.js");
10
+ const is_special_js_1 = require("./is-special.js");
11
+ /**
12
+ * Gets a short value type name, which can be used in a message.
13
+ *
14
+ * @param value - The value to check.
15
+ */
16
+ function getNiceTypeOf(value) {
17
+ return value === null ? "null" : typeof value;
18
+ }
19
+ /**
20
+ * Describes an object's class, type, or constructor name to be used in a message.
21
+ *
22
+ * - ๐Ÿ“ฆ For an object, returns the name of its constructor or similar string.
23
+ * - โš™๏ธ For a function (or class), returns the function's name.
24
+ * - ๐Ÿ”  For other values, returns the `typeof` string via {@link getNiceTypeOf}.
25
+ *
26
+ * @param something - The value whose class name or type is to be determined.
27
+ */
28
+ function getNiceClassName(something) {
29
+ if ((0, is_basic_js_1.isFunction)(something)) {
30
+ return getFunctionName(something);
31
+ }
32
+ if (!(0, is_basic_js_1.isObject)(something)) {
33
+ return getNiceTypeOf(something);
34
+ }
35
+ let name;
36
+ if (something.constructor) {
37
+ name = getFunctionName(something.constructor);
38
+ }
39
+ const o = "Object";
40
+ return name && name !== o ? name : (getObjectStringTag(something) ?? o);
41
+ }
42
+ function getObjectStringTag(object) {
43
+ return object[Symbol.toStringTag];
44
+ }
45
+ /**
46
+ * Gets the description of a symbol.
47
+ *
48
+ * @param symbol - The symbol to get the description of.
49
+ */
50
+ function getSymbolDescription(symbol) {
51
+ return `${symbol.description}`;
52
+ }
53
+ function _getShortObjectString(object) {
54
+ if ((0, is_special_js_1.isDoddle)(object)) {
55
+ return object.toString();
56
+ }
57
+ if ((0, is_special_js_1.isIterable)(object)) {
58
+ return `iterable ${getNiceClassName(object)}`;
59
+ }
60
+ else if ((0, is_special_js_1.isAsyncIterable)(object)) {
61
+ return `async iterable ${getNiceClassName(object)}`;
62
+ }
63
+ else if ((0, is_special_js_1.isNextable)(object)) {
64
+ return `iterator ${getNiceClassName(object)}`;
65
+ }
66
+ else if ((0, is_special_js_1.isDoddle)(object)) {
67
+ return object.toString();
68
+ }
69
+ else if ((0, is_basic_js_1.isThenable)(object)) {
70
+ return `a Promise`;
71
+ }
72
+ else {
73
+ return `object ${getNiceClassName(object)}`;
74
+ }
75
+ }
76
+ /**
77
+ * Gets a short string describing a value, to be used in a message.
78
+ *
79
+ * @param value - The value to describe.
80
+ */
81
+ function getNiceValueName(value) {
82
+ if ((0, is_basic_js_1.isNullish)(value)) {
83
+ return `${value}`;
84
+ }
85
+ if ((0, is_basic_js_1.isFunction)(value)) {
86
+ return `function ${getFunctionName(value) || "<anonymous>"}`;
87
+ }
88
+ if ((0, is_basic_js_1.isBigInt)(value)) {
89
+ return `${value}n`;
90
+ }
91
+ if ((0, is_basic_js_1.isSymbol)(value)) {
92
+ return `Symbol(${getSymbolDescription(value)})`;
93
+ }
94
+ if ((0, is_basic_js_1.isString)(value)) {
95
+ if (value.length > 30) {
96
+ value = value.slice(0, 30) + "โ‹ฏ";
97
+ }
98
+ return `"${value}"`;
99
+ }
100
+ if ((0, is_basic_js_1.isObject)(value)) {
101
+ return _getShortObjectString(value);
102
+ }
103
+ return `${value}`;
104
+ }
105
+ /**
106
+ * Gets the name of a function, or null if it has no name.
107
+ *
108
+ * @param func - The function to get the name of.
109
+ */
110
+ function getFunctionName(func) {
111
+ return func.name || undefined;
112
+ }
113
+ //# sourceMappingURL=get-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-text.js","sourceRoot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Q,EAAC,KAAK,CAAC,EAAE,CAAC;QAClB,IAAI,KAAK,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;YACpB,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,CAAA;QACpC,CAAC;QACD,OAAO,IAAI,KAAK,GAAG,CAAA;IACvB,CAAC;IACD,IAAI,IAAA,sBAAQ,EAAC,KAAK,CAAC,EAAE,CAAC;QAClB,OAAO,qBAAqB,CAAC,KAAK,CAAC,CAAA;IACvC,CAAC;IACD,OAAO,GAAG,KAAK,EAAE,CAAA;AACrB,CAAC;AAED;;;;GAIG;AACH,SAAgB,eAAe,CAAC,IAAc;IAC1C,OAAO,IAAI,CAAC,IAAI,IAAI,SAAS,CAAA;AACjC,CAAC"}
@@ -1,195 +1,4 @@
1
- /**
2
- * Gets a short value type name, which can be used in a message.
3
- *
4
- * @param value - The value to check.
5
- */
6
- export declare function getNiceTypeOf(value: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "null";
7
- /**
8
- * Describes an object's class, type, or constructor name to be used in a message.
9
- *
10
- * - ๐Ÿ“ฆ For an object, returns the name of its constructor or similar string.
11
- * - โš™๏ธ For a function (or class), returns the function's name.
12
- * - ๐Ÿ”  For other values, returns the `typeof` string via {@link getNiceTypeOf}.
13
- *
14
- * @param something - The value whose class name or type is to be determined.
15
- */
16
- export declare function getNiceClassName(something: any): any;
17
- export declare function getObjectStringTag(object: any): any;
18
- /**
19
- * Gets the description of a symbol.
20
- *
21
- * @param symbol - The symbol to get the description of.
22
- */
23
- export declare function getSymbolDescription(symbol: symbol): string;
24
- /**
25
- * Gets a short string describing a value, to be used in a message.
26
- *
27
- * @param value - The value to describe.
28
- */
29
- export declare function getNiceValueName(value: any): string;
30
- /**
31
- * Gets the name of a function, or null if it has no name.
32
- *
33
- * @param func - The function to get the name of.
34
- */
35
- export declare function getFunctionName(func: Function): string | undefined;
36
- /**
37
- * Checks if the given value is an object.
38
- *
39
- * @template T - The type of the value to check.
40
- * @param value - The value to test.
41
- */
42
- export declare function isObject<T>(value: T): value is T & {};
43
- /**
44
- * Checks if the given value is a function.
45
- *
46
- * @param value - The value to check.
47
- */
48
- export declare function isFunction(value: unknown): value is Function;
49
- /**
50
- * Checks if the given value is a BigInt.
51
- *
52
- * @param value - The value to check.
53
- */
54
- export declare const isBigInt: (value: any) => value is bigint;
55
- /**
56
- * Checks if the given value is a string.
57
- *
58
- * @param value - The value to check.
59
- */
60
- export declare const isString: (value: any) => value is string;
61
- /**
62
- * Checks if the given value is acceptable as the key of a property.
63
- *
64
- * That is, whether it's a string, a number, or a symbol.
65
- *
66
- * @param value - The value to check.
67
- */
68
- export declare const isPropertyKey: (value: any) => value is PropertyKey;
69
- /**
70
- * Checks if the given value is null or undefined.
71
- *
72
- * @param value - The value to check.
73
- */
74
- export declare const isNullish: (value: any) => value is null | undefined;
75
- /**
76
- * Checks if the given value is an array.
77
- *
78
- * @param value - The value to check.
79
- */
80
- export declare const isArray: (arg: any) => arg is any[];
81
- /**
82
- * Checks if the given value is a thenable (i.e., a Promise or similar).
83
- *
84
- * @template T - Allows asserting the type of the resolved value. Not part of the check.
85
- * @param what - The value to check.
86
- */
87
- export declare const isThenable: <T = unknown>(what: unknown) => what is PromiseLike<T>;
88
- /**
89
- * Checks if the given value is a number.
90
- *
91
- * @param v - The value to check.
92
- */
93
- export declare const isNumber: (v: number) => boolean;
94
- /**
95
- * Checks if the given value is a number and can be represented exactly in JavaScript.
96
- *
97
- * That is, if it's a number in the range (-2โตยณ, 2โตยณ).
98
- *
99
- * @param v - The value to check.
100
- */
101
- export declare const isInt: (number: unknown) => boolean;
102
- /**
103
- * Checks if the given value is either a {@link isInt safe integer} or Infinity.
104
- *
105
- * @param v - The value to check.
106
- */
107
- export declare const isIntOrInfinity: (v: number) => boolean;
108
- /**
109
- * Checks if the given value is a {@link isInt safe integer} and non-negative.
110
- *
111
- * @param v - The value to check.
112
- * @see {@link isInt}
113
- */
114
- export declare const isNat: (v: number) => boolean;
115
- /**
116
- * Checks if the given value is either a non-negative {@link isInt safe integer} or Infinity.
117
- *
118
- * @param v - The value to check.
119
- */
120
- export declare const isNatOrInfinity: (v: number) => boolean;
121
- /**
122
- * Checks if the given value is a boolean.
123
- *
124
- * @param value - The value to check.
125
- */
126
- export declare const isBool: (value: boolean) => boolean;
127
- /**
128
- * Checks if the given value is not null or undefined.
129
- *
130
- * @param value - The value to check.
131
- */
132
- export declare const isNotNullish: (value: any) => boolean;
133
- /**
134
- * Checks if the given value is an array of two elements.
135
- *
136
- * @param value - The value to check.
137
- */
138
- export declare const isPair: (value: any) => boolean;
139
- /**
140
- * Checks if the given value is a {@link isInt safe integer} and positive.
141
- *
142
- * @param value - The value to check.
143
- */
144
- export declare const isPosInt: (value: number) => boolean;
145
- /**
146
- * Checks if the given value is an Error object.
147
- *
148
- * @param value - The value to check.
149
- */
150
- export declare const isError: (value: any) => value is Error;
151
- /**
152
- * Checks if the given value is a symbol.
153
- *
154
- * @param value - The value to check.
155
- */
156
- export declare const isSymbol: (value: any) => value is symbol;
157
- /**
158
- * Checks if the given value is array-like. It must be an object and have an integer `length`
159
- * property.
160
- *
161
- * @template T - Allows asserting the element type. Not part of the check.
162
- * @param value - The value to check.
163
- */
164
- export declare function isArrayLike<T>(value: any): value is ArrayLike<T>;
165
- /**
166
- * Checks if the given value is an object
167
- *
168
- * @param value - The value to check.
169
- */
170
- export declare function isIterable<T>(value: any): value is Iterable<T>;
171
- /**
172
- * Checks if the given value is an iterable or async iterable.
173
- *
174
- * @template T - Allows asserting the element type. Not part of the check.
175
- * @param value - The value to check.
176
- */
177
- export declare function isAnyIterable<T = unknown>(value: any): value is Iterable<T>;
178
- /**
179
- * Checks if the given value is an async iterable.
180
- *
181
- * @template T - Allows asserting the element type. Not part of the check.
182
- * @param value - The value to check.
183
- */
184
- export declare function isAsyncIterable<T>(value: any): value is AsyncIterable<T>;
185
- export declare function isNextable<T>(value: any): value is Iterator<T> | AsyncIterator<T>;
186
- /**
187
- * Checks if the given value is a Doddle object.
188
- *
189
- * @param value - The value to check.
190
- * @returns True if the value is a Doddle object, false otherwise.
191
- */
192
- export declare function isDoddle<T>(value: any): value is {
193
- pull(): T;
194
- };
1
+ export { getFunctionName, getNiceClassName, getNiceTypeOf, getNiceValueName, getSymbolDescription } from "./get-text.js";
2
+ export { isArray, isBigInt, isBool, isError, isFunction, isInt, isIntOrInfinity, isNat, isNatOrInfinity, isNotNullish, isNullish, isNumber, isObject, isPair, isPosInt, isPropertyKey, isString, isSymbol, isThenable } from "./is-basic.js";
3
+ export { isAnyIterable, isArrayLike, isAsyncIterable, isDoddle, isIterable, isNextable } from "./is-special.js";
195
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,wGAEvC;AACD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,GAAG,OAgB9C;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,OAE7C;AACD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,UAElD;AAqBD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,UAuB1C;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,sBAE7C;AACD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG,EAAE,CAErD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ,CAE5D;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,KAAG,KAAK,IAAI,MAE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