MCPcopy Index your code
hub / github.com/codecombat/codecombat / getExperimentValueFromQuery

Function getExperimentValueFromQuery

app/core/utils.js:841–843  ·  view source on GitHub ↗
(param)

Source from the content-addressed store, hash-verified

839}
840
841const getExperimentValueFromQuery = function (param) {
842 return { true: 'beta', false: 'control', control: 'control', beta: 'beta' }[getQueryVariable(param)]
843}
844
845const getFirstNonNull = function (...values) {
846 return values.find(value => value != null)

Callers

nothing calls this directly

Calls 1

getQueryVariableFunction · 0.85

Tested by

no test coverage detected