@identity-js/number-identity 1.0.0 → 1.1.0
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,10 +35,10 @@ const result2 = stringIdentity(5000)
|
|
|
35
35
|
const result3 = stringIdentity(0.3)
|
|
36
36
|
|
|
37
37
|
// Returns: -67
|
|
38
|
-
const
|
|
38
|
+
const result4 = stringIdentity(-67)
|
|
39
39
|
|
|
40
40
|
// Returns: 0 (this function returns 0 for anything that isn't a finite number)
|
|
41
|
-
const
|
|
41
|
+
const result5 = stringIdentity("not a number")
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Testing
|