is-float-array
v1.0.0
Published
Check if an array can store floats
Downloads
124,516
Readme
is-float-array
Test if an array can store floats. In particular, Float32Array, Float64Array and Array are detected as float arrays.
Usage
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.