-
-
Notifications
You must be signed in to change notification settings - Fork 97
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 some()
, every()
and reduce_right()
methods to Array
#2926
Comments
some()
, every()
and reduce_right()
methods to Array
Instead of |
While you can use
|
I think |
This was requested in #1120, but I think it should be addressed in a separate pull request. |
Describe the project you are working on
None yet, I'm still learning Godot.
Describe the problem or limitation you are having in your project
None.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Simple Array methods based on JavaScript Array (developer.mozilla.org).
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
reduce_right
:some
:every
:If this enhancement will not be used often, can it be worked around with a few lines of script?
How it looks with a workaround:
Is there a reason why this should be core and not an add-on in the asset library?
It's simple enough to not be built-in. The PR godotengine/godot#38645 added
filter
/map
/reduce
.I can't do PR due to the repository weight.
The text was updated successfully, but these errors were encountered: