Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ netIPToString
Function
netIPToString
ext/network.go:458–461 ·
view source on GitHub ↗
(val ref.Val)
Source
from the content-addressed store, hash-verified
456
}
457
458
func
netIPToString(val ref.Val) ref.Val {
459
ip := val.(IP)
460
return
types.String(ip.Addr.String())
461
}
462
463
func
netIsCIDR(val ref.Val) ref.Val {
464
s := val.(types.String)
Callers
nothing calls this directly
Calls
2
String
TypeAlias · 0.92
String
Method · 0.65
Tested by
no test coverage detected