1 | # Installation
|
2 | > `npm install --save @types/is-typedarray`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for is-typedarray (https://github.com/hughsk/is-typedarray).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-typedarray.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-typedarray/index.d.ts)
|
10 | ````ts
|
11 | /// <reference types="node" />
|
12 |
|
13 | export = isTypedArray;
|
14 |
|
15 | declare function isTypedArray(candidate: any): candidate is isTypedArray.TypedArray;
|
16 |
|
17 | declare namespace isTypedArray {
|
18 | function strict(candidate: any): candidate is TypedArray;
|
19 | function loose(candidate: any): candidate is TypedArray;
|
20 |
|
21 | type TypedArray =
|
22 | | Int8Array
|
23 | | Int16Array
|
24 | | Int32Array
|
25 | | Uint8Array
|
26 | | Uint8ClampedArray
|
27 | | Uint16Array
|
28 | | Uint32Array
|
29 | | Float32Array
|
30 | | Float64Array
|
31 | | Buffer;
|
32 | }
|
33 |
|
34 | ````
|
35 |
|
36 | ### Additional Details
|
37 | * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
|
38 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
39 |
|
40 | # Credits
|
41 | These definitions were written by [BendingBender](https://github.com/BendingBender).
|
42 |
|
\ | No newline at end of file |