diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-10-01 12:54:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 12:54:27 +0200 |
commit | 42f20985093fee4528c83d8104cba49734ab51b9 (patch) | |
tree | be189e8bdeebe14d48736f6e2c4e9ade140f112d | |
parent | 56dee7015fe25702832dca7ab8c0ea1c032badd9 (diff) | |
parent | 00ade39389cbb5cff744cb52b6827003dd2414ba (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.xml | 2 |
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"> |