4 lines
111 B
JavaScript
4 lines
111 B
JavaScript
|
const semver = require('semver');
|
||
|
|
||
|
exports.isBeta = version => semver.parse(version).prerelease[0] === 'beta';
|