to-comparators.js 268 B

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