Socket
Socket
Sign inDemoInstall

is-float-array

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    is-float-array

Check if an array can store floats


Version published
Maintainers
1
Created

Readme

Source

is-float-array Build Status unstable

Test if an array can store floats. In particular, Float32Array, Float64Array and Array are detected as float arrays.

Usage

npm install is-float-array

var isFloat = require('is-float-array');

isFloat(Array(10)) // true
isFloat(new Float32Array(10)) // true
isFloat(new Float64Array(10)) // true
isFloat(new Uint8Array(10)) // false

License

© 2018 Dmitry Yv. MIT License.

Keywords

FAQs

Last updated on 07 Nov 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc