Created
October 28, 2018 07:05
-
-
Save kermankohli/c3fc6145749d0dd47ae321ae414b7643 to your computer and use it in GitHub Desktop.
Partials - Return Types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{#hasReturnValue}} | |
{{#singleReturnValue}} | |
{{#returnType outputs.0.type components}}{{/returnType}} | |
{{/singleReturnValue}} | |
{{^singleReturnValue}} | |
[{{#each outputs}}{{#returnType type components}}{{/returnType}}{{#unless @last}}, {{/unless}}{{/each}}] | |
{{/singleReturnValue}} | |
{{/hasReturnValue}} | |
{{^hasReturnValue}} | |
void | |
{{/hasReturnValue}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment