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

Function parseInt

compiler/parser/support.go:90–97  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

88}
89
90func parseInt(v any) any {
91 num := v.(string)
92 i, err := strconv.Atoi(num)
93 if err != nil {
94 return nil
95 }
96 return i
97}
98
99func makeUnicodeChar(chars any) string {
100 var r rune

Callers 2

constructorMethod · 0.85
onUInt1Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected