Libraryless. Click here for Pure Java version (2766L/16K).
1 | static O[] prependParamIfOddCount(O x, O[] params) {
|
2 | if (odd(l(params))) |
3 | ret itemPlusObjectArray(x, params); |
4 | ret params; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030987 |
| Snippet name: | prependParamIfOddCount |
| Eternal ID of this version: | #1030987/1 |
| Text MD5: | 6c7aa2ff95f88b5f2571cc1136a33113 |
| Transpilation MD5: | 09dc8ccb1c9bd5dc26b53e104d3de5e0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-04-18 17:16:55 |
| Source code size: | 134 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 360 / 476 |
| Referenced in: | [show references] |