Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment isIpv6

net/ip::isIpv6


Inputs

⇥ ip: Stream<Ip> (net/ip::Ip)

Outputs

↦ ipv6: Stream<bool>


Emit true for each Ip in the stream that is an IPv6 address, false otherwise.

graph LR
     T("isIpv6()")
     A["〈🟦〉 … 〈🟨〉"] -->|ip| T
     T -->|ipv6| B["true … false"]

     style A fill:#ffff,stroke:#ffff
     style B fill:#ffff,stroke:#ffff