File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Joey Reed <joeyrreed@gmail.com>
16
16
Jordan-Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
17
17
Joris Labie <joris.labie1@gmail.com>
18
18
Justin Dennison <justin1dennison@gmail.com>
19
+ KATTA NAGA NITHIN <88046362+nithinkatta@users.noreply.github.com>
19
20
Marcus <mfantham@users.noreply.github.com>
20
21
Matt Cochrane <matthew.cochrane.eng@gmail.com>
21
22
Milan Raj <rajsite@users.noreply.github.com>
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ interface IsNonNegativeNumberArray {
36
36
* var bool = isNonNegativeNumberArray( [ 3.0, '3.0' ] );
37
37
* // returns false
38
38
*/
39
- ( value : any ) : boolean ;
39
+ ( value : any ) : value is ArrayLike < number | Number > ;
40
40
41
41
/**
42
42
* Tests if a value is an array-like object containing only nonnegative primitive number values.
@@ -52,7 +52,7 @@ interface IsNonNegativeNumberArray {
52
52
* var bool = isNonNegativeNumberArray.primitives( [ 3.0, new Number(1.0) ] );
53
53
* // returns false
54
54
*/
55
- primitives ( value : any ) : boolean ;
55
+ primitives ( value : any ) : value is ArrayLike < number > ;
56
56
57
57
/**
58
58
* Tests if a value is an array-like object containing only number objects having nonnegative number values.
@@ -68,7 +68,7 @@ interface IsNonNegativeNumberArray {
68
68
* var bool = isNonNegativeNumberArray.objects( [ 1.0, 0.0, 10.0 ] );
69
69
* // returns false
70
70
*/
71
- objects ( value : any ) : boolean ;
71
+ objects ( value : any ) : value is ArrayLike < Number > ;
72
72
}
73
73
74
74
/**
You can’t perform that action at this time.
0 commit comments