mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
640e188270
Former-commit-id: 435fb8e3e4f8e334ad3b0e95052edbdd9547d197
11 lines
282 B
JavaScript
11 lines
282 B
JavaScript
'use strict'
|
|
|
|
const Range = require('../classes/range')
|
|
|
|
// Mostly just for testing and legacy API reasons
|
|
const toComparators = (range, options) =>
|
|
new Range(range, options).set
|
|
.map(comp => comp.map(c => c.value).join(' ').trim().split(' '))
|
|
|
|
module.exports = toComparators
|