You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Replace find with contains/has where applicable
* Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
This commit is contained in:
@@ -1201,7 +1201,7 @@ Dictionary GDExtensionAPIDump::generate_extension_api(bool p_include_docs) {
|
||||
if (F.name.begins_with("_")) {
|
||||
continue; //hidden property
|
||||
}
|
||||
if (F.name.find("/") >= 0) {
|
||||
if (F.name.contains("/")) {
|
||||
// Ignore properties with '/' (slash) in the name. These are only meant for use in the inspector.
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user