-
-
Notifications
You must be signed in to change notification settings - Fork 22k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add functions Array::find_first() and Array::get_first() #70727
Conversation
afc34d0
to
8b9295d
Compare
8b9295d
to
0b1c061
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good. Thanks for taking this on!
8fb8db5
to
7700ec1
Compare
Looking at the proposal, the idea is to return an element ( |
e2d2fe6
to
0a99bfe
Compare
0a99bfe
to
729e901
Compare
Superseded by #95449. Thanks for the contribution! |
@akien-mga This PR implements I was looking forward to having an array method that returns the Variant directly. Can this be reopened please? |
implemented the function Array::find_custom as discussed in godotengine/godot-proposals#6006.
This is my first time making a PR for the codebase so I'm sure I missed some things. Thanks in advance.