MCPcopy Create free account
hub / github.com/cel-expr/cel-go / isError

Function isError

interpreter/interpretable.go:2215–2218  ·  view source on GitHub ↗
(val ref.Val)

Source from the content-addressed store, hash-verified

2213}
2214
2215func isError(val ref.Val) bool {
2216 _, ok := val.(*types.Err)
2217 return ok
2218}
2219
2220func isUnknown(val ref.Val) bool {
2221 _, ok := val.(*types.Unknown)

Callers 10

ExecMethod · 0.70
ExecMethod · 0.70
ExecMethod · 0.70
ExecMethod · 0.70
ExecMethod · 0.70
ExecMethod · 0.70
foldIterableMethod · 0.70
FoldEntryMethod · 0.70
ResolveMethod · 0.70
refQualifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected