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

@stdlib/assert-has-uint16array-support

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/assert-has-uint16array-support

Detect native Uint16Array support.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
400K
decreased by-5.77%
Maintainers
4
Weekly downloads
 
Created

What is @stdlib/assert-has-uint16array-support?

The @stdlib/assert-has-uint16array-support package is used to check if the environment supports the Uint16Array data type. This can be useful for ensuring compatibility and avoiding runtime errors in environments that do not support this feature.

What are @stdlib/assert-has-uint16array-support's main functionalities?

Check Uint16Array support

This feature allows you to check if the current environment supports the Uint16Array data type. The code sample demonstrates how to use the package to perform this check and log the result.

const hasUint16ArraySupport = require('@stdlib/assert-has-uint16array-support');

if (hasUint16ArraySupport()) {
  console.log('Uint16Array is supported.');
} else {
  console.log('Uint16Array is not supported.');
}

Other packages similar to @stdlib/assert-has-uint16array-support

Keywords

FAQs

Package last updated on 14 Jun 2021

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