Any way to automatically output a method's return value? #244
-
I'd like to see the output from a method automatically without having to resort to my current workaround - assigning to a variable then outputting that value. Here's what I mean: Is there a faster way to see the output of a method? |
Beta Was this translation helpful? Give feedback.
Answered by
kindermannhubert
Apr 14, 2023
Replies: 1 comment 1 reply
-
Just skip the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
clirette
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just skip the
;
at the end.Expression ending with
;
is a statement and it does not have any return value.