Menu

[r2]: / etc / scripts / featureScript.js  Maximize  Restore  History

Download this file

10 lines (8 with data), 297 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
function isFeatureEnabled(feature) {
// -- create the result object
result = false;
// -- check with the featureManager if the given function is enabled
result = application.featureManager.isFeatureEnabled(feature);
// -- return the result object
return result;
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.