Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-typedarray

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-typedarray

Detect whether or not an object is a Typed Array

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24M
decreased by-3.8%
Maintainers
1
Weekly downloads
 
Created

What is is-typedarray?

The is-typedarray npm package is a utility that allows developers to check if a given value is a TypedArray. TypedArrays are a feature in JavaScript that allows for handling binary data. This package provides a simple and straightforward way to determine if an object is one of the TypedArray types, such as Int8Array, Uint8Array, Float32Array, etc.

What are is-typedarray's main functionalities?

Check if a value is a TypedArray

This feature allows you to check if a given value is a TypedArray. The function returns true if the value is one of the TypedArray types, and false otherwise.

const isTypedArray = require('is-typedarray');
const buffer = new ArrayBuffer(10);
const typedArray = new Uint8Array(buffer);
const result = isTypedArray(typedArray); // true

Other packages similar to is-typedarray

Keywords

FAQs

Package last updated on 17 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc