Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ isFinite
Function
isFinite
ext/math.go:687–690 ·
view source on GitHub ↗
(val ref.Val)
Source
from the content-addressed store, hash-verified
685
}
686
687
func
isFinite(val ref.Val) ref.Val {
688
v := float64(val.(types.Double))
689
return
types.Bool(!math.IsInf(v, 0) && !math.IsNaN(v))
690
}
691
692
func
isNaN(val ref.Val) ref.Val {
693
v := val.(types.Double)
Callers
nothing calls this directly
Calls
1
Bool
TypeAlias · 0.92
Tested by
no test coverage detected