1.0.0 • Published 11 years ago
interval-union v1.0.0
interval-union
compute the union of two intervals
install
npm install interval-union
use
var iunion = require('interval-union');
console.log(iunion([1, 2], [3, 4]));
// output: [1, 4]api signature
iunion(a, b, out)
ais the first intervalbis the second intervaloutis an optional 2 part araray. Provide this to avoid generating garbage- returns: 2 part array
license
1.0.0
11 years ago