File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Expand file tree Collapse file tree 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>
1616Jordan-Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
1717Joris Labie <joris.labie1@gmail.com>
1818Justin Dennison <justin1dennison@gmail.com>
19+ KATTA NAGA NITHIN <88046362+nithinkatta@users.noreply.github.com>
1920Marcus <mfantham@users.noreply.github.com>
2021Matt Cochrane <matthew.cochrane.eng@gmail.com>
2122Milan Raj <rajsite@users.noreply.github.com>
Original file line number Diff line number Diff line change 1818
1919// TypeScript Version: 2.0
2020
21+ /// <reference types="@stdlib/types"/>
22+
23+ import { TypedArray } from '@stdlib/types/array' ;
24+
2125/**
2226* Tests if a value is a typed array.
2327*
3034* var bool = isTypedArray( new Int8Array( 10 ) );
3135* // returns true
3236*/
33- declare function isTypedArray ( value : any ) : boolean ;
37+ declare function isTypedArray ( value : any ) : value is TypedArray ;
3438
3539
3640// EXPORTS //
Original file line number Diff line number Diff line change 4747 "@stdlib/array-uint8" : " ^0.0.7" ,
4848 "@stdlib/array-uint8c" : " ^0.0.8" ,
4949 "@stdlib/assert-has-float64array-support" : " ^0.0.8" ,
50+ "@stdlib/types" : " ^0.0.14" ,
5051 "@stdlib/utils-constructor-name" : " ^0.0.8" ,
5152 "@stdlib/utils-function-name" : " ^0.0.8" ,
5253 "@stdlib/utils-get-prototype-of" : " ^0.0.7"
You can’t perform that action at this time.
0 commit comments