DocLinesComparitor.js 315 B

12345678910111213
  1. // TODO: This file was created by bulk-decaffeinate.
  2. // Sanity-check the conversion and remove this comment.
  3. const _ = require('lodash')
  4. module.exports = {
  5. areSame(lines1, lines2) {
  6. if (!Array.isArray(lines1) || !Array.isArray(lines2)) {
  7. return false
  8. }
  9. return _.isEqual(lines1, lines2)
  10. },
  11. }