Never Program Mad

    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

    132,612

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.27 kB

    Total Files

    5

    Last publish

    Collaborators

    • dy