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

Function isInf

ext/math.go:682–685  ·  view source on GitHub ↗
(val ref.Val)

Source from the content-addressed store, hash-verified

680}
681
682func isInf(val ref.Val) ref.Val {
683 v := val.(types.Double)
684 return types.Bool(math.IsInf(float64(v), 0))
685}
686
687func isFinite(val ref.Val) ref.Val {
688 v := float64(val.(types.Double))

Callers

nothing calls this directly

Calls 1

BoolTypeAlias · 0.92

Tested by

no test coverage detected