debian-mirror-gitlab/app/assets/javascripts/lib/utils/experimentation.js

4 lines
115 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
export function isExperimentEnabled(experimentKey) {
return Boolean(window.gon?.experiments?.[experimentKey]);
}