Socket
Socket
Sign inDemoInstall

@stdlib/assert-is-float64array

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-is-float64array

Test if a value is a Float64Array.


Version published
Maintainers
4
Created

What is @stdlib/assert-is-float64array?

The @stdlib/assert-is-float64array npm package is used to check if a value is a Float64Array. This is useful for validating data types in JavaScript, especially when working with numerical computations and ensuring that the data structures are as expected.

What are @stdlib/assert-is-float64array's main functionalities?

Check if a value is a Float64Array

This feature allows you to check if a given value is a Float64Array. The function returns true if the value is a Float64Array and false otherwise.

const isFloat64Array = require('@stdlib/assert-is-float64array');

const arr = new Float64Array(10);
console.log(isFloat64Array(arr)); // true

const notArr = [1, 2, 3];
console.log(isFloat64Array(notArr)); // false

Other packages similar to @stdlib/assert-is-float64array

Keywords

FAQs

Package last updated on 27 Jul 2024

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