summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-01 12:54:27 +0200
committerGitHub <noreply@github.com>2020-10-01 12:54:27 +0200
commit42f20985093fee4528c83d8104cba49734ab51b9 (patch)
treebe189e8bdeebe14d48736f6e2c4e9ade140f112d
parent56dee7015fe25702832dca7ab8c0ea1c032badd9 (diff)
parent00ade39389cbb5cff744cb52b6827003dd2414ba (diff)
Merge pull request #42435 from Calinou/doc-string-is-valid-ip-address
Improve the `String.is_valid_ip_address()` documentation
-rw-r--r--doc/classes/String.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml
index 205ad0f5ce..4034a5ee07 100644
--- a/doc/classes/String.xml
+++ b/doc/classes/String.xml
@@ -618,7 +618,7 @@
<return type="bool">
</return>
<description>
- Returns [code]true[/code] if this string contains a valid IP address.
+ Returns [code]true[/code] if this string contains only a well-formatted IPv4 or IPv6 address. This method considers [url=https://en.wikipedia.org/wiki/Reserved_IP_addresses]reserved IP addresses[/url] such as [code]0.0.0.0[/code] as valid.
</description>
</method>
<method name="join">