foreach-prop
Advanced tools
Comparing version 0.2.3 to 1.0.0
@@ -0,1 +1,5 @@ | ||
# 1.0.x | ||
* first official release | ||
# 0.2.x | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "foreach-prop", | ||
"version": "0.2.3", | ||
"version": "1.0.0", | ||
"description": "Array-like methods for objects", | ||
@@ -5,0 +5,0 @@ "main": "dist/each-prop.cjs.js", |
@@ -63,6 +63,6 @@ # foreach-prop | ||
*similar to* `Array.prototype.indexOf`*. It returns the key of the first value that equals the provided one.* | ||
*similar to* `Array.prototype.indexOf`*. It returns the key of the first value that equals the provided one, or* `null` *if not found.* | ||
```typescript | ||
keyOf(object, value): string; | ||
keyOf(object, value): string | null; | ||
``` | ||
@@ -72,6 +72,6 @@ | ||
*similar to* `Array.prototype.lastIndexOf`*. It returns the key of the last value that equals the provided one.* | ||
*similar to* `Array.prototype.lastIndexOf`*. It returns the key of the last value that equals the provided one, or* `null` *if not found.* | ||
```typescript | ||
lastKeyOf(object, value): string; | ||
lastKeyOf(object, value): string | null; | ||
``` | ||
@@ -84,3 +84,3 @@ | ||
```typescript | ||
findKey(object, function callback(value, key, ...extra) => any, ...extra): string; | ||
findKey(object, function callback(value, key, ...extra) => any, ...extra): string | null; | ||
``` | ||
@@ -87,0 +87,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
55561
0