@types/is-typedarray
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/is-typedarray

Summary

This package contains type definitions for is-typedarray (https://github.com/hughsk/is-typedarray).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-typedarray.

index.d.ts

/// <reference types="node" />

export = isTypedArray;

declare function isTypedArray(candidate: any): candidate is isTypedArray.TypedArray;

declare namespace isTypedArray {
    function strict(candidate: any): candidate is TypedArray;
    function loose(candidate: any): candidate is TypedArray;

    type TypedArray =
        | Int8Array
        | Int16Array
        | Int32Array
        | Uint8Array
        | Uint8ClampedArray
        | Uint16Array
        | Uint32Array
        | Float32Array
        | Float64Array
        | Buffer;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by BendingBender.

/@types/is-typedarray/

    Package Sidebar

    Install

    npm i @types/is-typedarray

    Weekly Downloads

    17,453

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.75 kB

    Total Files

    5

    Last publish

    Collaborators

    • types