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

Function toInt

runtime/sam/expr/eval.go:394–394  ·  view source on GitHub ↗
(val super.Value)

Source from the content-addressed store, hash-verified

392
393func toFloat(val super.Value) float64 { return coerce.ToNumeric[float64](val) }
394func toInt(val super.Value) int64 { return coerce.ToNumeric[int64](val) }
395func toUint(val super.Value) uint64 { return coerce.ToNumeric[uint64](val) }
396
397type Add struct {

Callers 5

EvalMethod · 0.85
EvalMethod · 0.85
EvalMethod · 0.85
EvalMethod · 0.85
EvalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected