Sha256: 9f61cd1c163f64d02571b02c7f5fd1daba414c537a7a72d35de39a057876dd12

Contents?: true

Size: 203 Bytes

Versions: 69

Compression:

Stored size: 203 Bytes

Contents

define(function(){
    /**
    * Check if value is close to target.
    */
    function isNear(val, target, threshold){
        return (Math.abs(val - target) <= threshold);
    }
    return isNear;
});

Version data entries

69 entries across 69 versions & 2 rubygems

Version Path
trusty-festivity-extension-2.3.1 node_modules/bower/node_modules/mout/src/math/isNear.js
trusty-festivity-extension-2.3.0 node_modules/bower/node_modules/mout/src/math/isNear.js
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/mout/src/math/isNear.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/mout/src/math/isNear.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/mout/src/math/isNear.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/mout/src/math/isNear.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/mout/src/math/isNear.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/mout/src/math/isNear.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/mout/src/math/isNear.js