summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-09-30 19:23:43 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-09-30 19:26:14 +0200
commit00ade39389cbb5cff744cb52b6827003dd2414ba (patch)
tree9d1bc4d359a7ebb0752662d53b798d79c7cf4c2d /doc/classes
parentcc62eaf7bed9ccc35c2676423242a204ba07e5e8 (diff)
Improve the `String.is_valid_ip_address()` documentation
This closes https://github.com/godotengine/godot-docs/issues/4097.
Diffstat (limited to 'doc/classes')
-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 40fff25fc4..92b93989fc 100644
--- a/doc/classes/String.xml
+++ b/doc/classes/String.xml
@@ -615,7 +615,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">