@longlast/equals 0.5.8 → 0.5.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/README.md +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -53,9 +53,9 @@ export declare const equalsWith: Curried3<EqualsOptions, unknown, unknown, boole
|
|
|
53
53
|
* - Maps are equal iff they have the same set of keys, and their
|
|
54
54
|
* corresponding values are deeply equal. Note that map keys are _not_
|
|
55
55
|
* deeply compared.
|
|
56
|
-
* - Partially applied
|
|
57
|
-
* the same
|
|
58
|
-
* according to `equals`.
|
|
56
|
+
* - Partially applied functions (via {@link curry} or {@link partial-apply})
|
|
57
|
+
* are equal iff they originate from the same function and their bound
|
|
58
|
+
* arguments are equal according to `equals`.
|
|
59
59
|
* - Other objects are equal iff they have the same prototype (e.g. the same
|
|
60
60
|
* class) and the same set of enumerable string-keyed properties, and the
|
|
61
61
|
* values of their corresponding properties are equal (according to
|
|
@@ -66,7 +66,7 @@ export declare const equalsWith: Curried3<EqualsOptions, unknown, unknown, boole
|
|
|
66
66
|
* class. For example:
|
|
67
67
|
*
|
|
68
68
|
* ```ts
|
|
69
|
-
* import {$equals} from "@longlast/symbols"
|
|
69
|
+
* import {$equals} from "@longlast/symbols";
|
|
70
70
|
*
|
|
71
71
|
* class HttpError extends Error {
|
|
72
72
|
* private statusCode: number;
|
package/dist/index.js
CHANGED
|
@@ -142,9 +142,9 @@ function _equalsWith(options, a, b) {
|
|
|
142
142
|
* - Maps are equal iff they have the same set of keys, and their
|
|
143
143
|
* corresponding values are deeply equal. Note that map keys are _not_
|
|
144
144
|
* deeply compared.
|
|
145
|
-
* - Partially applied
|
|
146
|
-
* the same
|
|
147
|
-
* according to `equals`.
|
|
145
|
+
* - Partially applied functions (via {@link curry} or {@link partial-apply})
|
|
146
|
+
* are equal iff they originate from the same function and their bound
|
|
147
|
+
* arguments are equal according to `equals`.
|
|
148
148
|
* - Other objects are equal iff they have the same prototype (e.g. the same
|
|
149
149
|
* class) and the same set of enumerable string-keyed properties, and the
|
|
150
150
|
* values of their corresponding properties are equal (according to
|
|
@@ -155,7 +155,7 @@ function _equalsWith(options, a, b) {
|
|
|
155
155
|
* class. For example:
|
|
156
156
|
*
|
|
157
157
|
* ```ts
|
|
158
|
-
* import {$equals} from "@longlast/symbols"
|
|
158
|
+
* import {$equals} from "@longlast/symbols";
|
|
159
159
|
*
|
|
160
160
|
* class HttpError extends Error {
|
|
161
161
|
* private statusCode: number;
|