Treatment isIpv4

net/ip::isIpv4


Inputs

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

Outputs

↦ ipv4: Stream<bool>


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

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

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