MCPcopy Create free account
hub / github.com/NativeScript/android / get_port

Method get_port

test-app/runtime/src/main/cpp/ada/ada.cpp:12666–12668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12664}
12665
12666[[nodiscard]] std::string url::get_port() const noexcept {
12667 return port.has_value() ? std::to_string(port.value()) : "";
12668}
12669
12670[[nodiscard]] std::string url::get_hash() const noexcept {
12671 // If this's URL's fragment is either null or the empty string, then return

Callers 4

processMethod · 0.60
canonicalize_portFunction · 0.60
ada_get_portFunction · 0.60

Calls 3

to_stringFunction · 0.85
valueMethod · 0.80
has_valueMethod · 0.45

Tested by

no test coverage detected