Return multiple values from a function
examples/groovy/return_multiple_values.gvy
def f() { return [2, 3] } (a, b) = f() println a println b
Published on 2018-10-30
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post