Pudu programming language
Menu
API reference

Std.Ip.within

1 declaration

fn

within: &Array[Std.Ip.Network] -> &Std.Ip.Address -> Bool

Whether any of the networks holds the address, which is the question an allowlist asks. The address is unmapped first, so a dual-stack peer is judged by the IPv4 address it carries.

Back to Std.IpSearch related declarations