MCPcopy Create free account
hub / github.com/facebook/time / isSupportedVar

Function isSupportedVar

fbclock/daemon/math.go:155–157  ·  view source on GitHub ↗
(varName string)

Source from the content-addressed store, hash-verified

153}
154
155func isSupportedVar(varName string) bool {
156 return slices.Contains(supportedVariables, varName)
157}
158
159// all the functions we support in expressions
160var functions = map[string]govaluate.ExpressionFunction{

Callers 2

TestIsSupportedVarFunction · 0.70
prepareExpressionFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestIsSupportedVarFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…