UNPKG

268 BJavaScriptView Raw
1const Range = require('../classes/range')
2
3// Mostly just for testing and legacy API reasons
4const toComparators = (range, options) =>
5 new Range(range, options).set
6 .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))
7
8module.exports = toComparators