MCPcopy
hub / github.com/google/go-jsonnet / evaluateBoolean

Method evaluateBoolean

interpreter.go:1149–1155  ·  view source on GitHub ↗

nolint:unused

(pv potentialValue)

Source from the content-addressed store, hash-verified

1147
1148//nolint:unused
1149func (i *interpreter) evaluateBoolean(pv potentialValue) (*valueBoolean, error) {
1150 v, err := i.evaluatePV(pv)
1151 if err != nil {
1152 return nil, err
1153 }
1154 return i.getBoolean(v)
1155}
1156
1157func (i *interpreter) getArray(val value) (*valueArray, error) {
1158 switch v := val.(type) {

Callers

nothing calls this directly

Calls 2

evaluatePVMethod · 0.95
getBooleanMethod · 0.95

Tested by

no test coverage detected