Ghost/core/server/utils/labs.js

11 lines
223 B
JavaScript
Raw Normal View History

var config = require('../config'),
flagIsSet;
flagIsSet = function flagIsSet(flag) {
var labsConfig = config.labs;
return !!labsConfig[flag] && labsConfig[flag] === true;
};
module.exports.isSet = flagIsSet;