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

Function netIPIsLinkLocalUnicast

ext/network.go:433–436  ·  view source on GitHub ↗
(val ref.Val)

Source from the content-addressed store, hash-verified

431}
432
433func netIPIsLinkLocalUnicast(val ref.Val) ref.Val {
434 ip := val.(IP)
435 return types.Bool(ip.Addr.IsLinkLocalUnicast())
436}
437
438func netIPIsLoopback(val ref.Val) ref.Val {
439 ip := val.(IP)

Callers

nothing calls this directly

Calls 1

BoolTypeAlias · 0.92

Tested by

no test coverage detected