Share your code. Components are building blocks, you are the architect.

utils/subtract
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
1     DEPENDENCIES
Build: fail
BuildFail
Build Status: fail
Subtracts its second argument from its first argument.

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/subtract in your project
npm i @bit/bit.ramda.utils.subtract
Copied

subtract (a:Number, b:Number) : Number

Subtracts its second argument from its first argument.

Example

R.subtract(10, 8); //=> 2

     var minus5 = R.subtract(R.__, 5);
     minus5(17); //=> 12

     var complementaryAngle = R.subtract(90);
     complementaryAngle(30); //=> 60
     complementaryAngle(72); //=> 18

Arguments

a: Number

The first value.

b: Number

The second value.

Returns

Number

The result of `a - b`.