hexo/node_modules/semver/functions/eq.js

4 lines
115 B
JavaScript

const compare = require('./compare')
const eq = (a, b, loose) => compare(a, b, loose) === 0
module.exports = eq