map typedArray #11532
Closed
TeutonStudio
started this conversation in
Scripting
map typedArray
#11532
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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