Ghost/core/server/utils/labs.js
2016-06-10 13:32:56 -06:00

11 lines
235 B
JavaScript

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