MCPcopy Create free account
hub / github.com/brimdata/super / hasError

Function hasError

compiler/semantic/op.go:218–221  ·  view source on GitHub ↗
(val super.Value)

Source from the content-addressed store, hash-verified

216}
217
218func hasError(val super.Value) bool {
219 result := function.HasError{}.Call([]super.Value{val})
220 return result.AsBool()
221}
222
223func (t *translator) hasFromParent(loc ast.Node, seq sem.Seq) sem.Seq {
224 if len(seq) > 0 {

Callers 1

fromFStringMethod · 0.85

Calls 2

AsBoolMethod · 0.80
CallMethod · 0.65

Tested by

no test coverage detected