npm

Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »

is-float-array

1.0.0 • Public • Published

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.

install

npm i is-float-array

Downloadsweekly downloads

25,117

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability