MCPcopy 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
458func netIPToString(val ref.Val) ref.Val {
459 ip := val.(IP)
460 return types.String(ip.Addr.String())
461}
462
463func netIsCIDR(val ref.Val) ref.Val {
464 s := val.(types.String)

Callers

nothing calls this directly

Calls 2

StringTypeAlias · 0.92
StringMethod · 0.65

Tested by

no test coverage detected