File tree 4 files changed +7
-2
lines changed
Filter options
4 files changed +7
-2
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 18
18
19
19
// TypeScript Version: 2.0
20
20
21
+ /// <reference types="@stdlib/types"/>
22
+
23
+ import { TypedArray } from '@stdlib/types/array' ;
24
+
21
25
/**
22
26
* Tests if a value is a typed array.
23
27
*
30
34
* var bool = isTypedArray( new Int8Array( 10 ) );
31
35
* // returns true
32
36
*/
33
- declare function isTypedArray ( value : any ) : boolean ;
37
+ declare function isTypedArray ( value : any ) : value is TypedArray ;
34
38
35
39
36
40
// EXPORTS //
Original file line number Diff line number Diff line change 47
47
"@stdlib/array-uint8" : " ^0.0.7" ,
48
48
"@stdlib/array-uint8c" : " ^0.0.8" ,
49
49
"@stdlib/assert-has-float64array-support" : " ^0.0.8" ,
50
+ "@stdlib/types" : " ^0.0.14" ,
50
51
"@stdlib/utils-constructor-name" : " ^0.0.8" ,
51
52
"@stdlib/utils-function-name" : " ^0.0.8" ,
52
53
"@stdlib/utils-get-prototype-of" : " ^0.0.7"
You can’t perform that action at this time.
0 commit comments