MCPcopy
hub / github.com/go-task/task / Active

Method Active

experiments/experiment.go:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func (x Experiment) Active() bool {
43 return len(x.AllowedValues) > 0
44}
45
46func (x Experiment) Valid() error {
47 if !x.Active() && x.Value != 0 {

Callers 3

ValidMethod · 0.95
TestNewFunction · 0.80
PrintExperimentsMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestNewFunction · 0.64