overleaf/services/web/frontend/js/utils/isSplitTestEnabled.ts

6 lines
154 B
TypeScript
Raw Normal View History

import getMeta from './meta'
export default function isSplitTestEnabled(name: string) {
return getMeta('ol-splitTestVariants')?.[name] === 'enabled'
}