[#CNetAddr-IsI2P] = xref:CNetAddr.adoc[CNetAddr]::IsI2P :relfileprefix: ../ :mrdocs: Whether this is an I2P address. == Synopsis Declared in `<netaddress.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool IsI2P() const; ---- == Return Value True when the network type is I2P. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#