map typedArray #11532
Closed
TeutonStudio
started this conversation in
Scripting
map typedArray
#11532
Replies: 1 comment
-
See: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Array method .map() returns an Array.
But if the Callable has a defined return type, it should return that typedArray, in my opinion.
example:
[c1,c2,...].map(func(it) -> Node: return Node.new()) # should return an Array[Node]
Beta Was this translation helpful? Give feedback.
All reactions