summaryrefslogtreecommitdiff
path: root/core/variant/variant_call.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-18 16:14:14 +0200
committerGitHub <noreply@github.com>2021-06-18 16:14:14 +0200
commit92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (patch)
tree0e1bc221f9883213d7092fc3858788ee14deecf8 /core/variant/variant_call.cpp
parent98b5280d1fe6e6287c564d80a4ae7b61fc7bd4b0 (diff)
parentb6af2a29eb1f96518c89a35a6a50a6309673d9f0 (diff)
Merge pull request #49659 from LightningAA/string-valid-integer-to-int
Diffstat (limited to 'core/variant/variant_call.cpp')
-rw-r--r--core/variant/variant_call.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp
index 4064eba7fb..9c7cd23d72 100644
--- a/core/variant/variant_call.cpp
+++ b/core/variant/variant_call.cpp
@@ -1380,7 +1380,7 @@ static void _register_variant_builtin_methods() {
bind_method(String, validate_node_name, sarray(), varray());
bind_method(String, is_valid_identifier, sarray(), varray());
- bind_method(String, is_valid_integer, sarray(), varray());
+ bind_method(String, is_valid_int, sarray(), varray());
bind_method(String, is_valid_float, sarray(), varray());
bind_method(String, is_valid_hex_number, sarray("with_prefix"), varray(false));
bind_method(String, is_valid_html_color, sarray(), varray());