Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-task/task
/ Enabled
Method
Enabled
experiments/experiment.go:38–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
}
37
38
func
(x Experiment) Enabled() bool {
39
return
slices.Contains(x.AllowedValues, x.Value)
40
}
41
42
func
(x Experiment) Active() bool {
43
return
len(x.AllowedValues) > 0
Callers
6
Valid
Method · 0.95
String
Method · 0.95
TestNew
Function · 0.80
init
Function · 0.80
GetFromVars
Function · 0.80
NewNode
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestNew
Function · 0.64