Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1008842 // failIfOddCount

JavaX fragment (include)

static void failIfOddCount(O... list) {
  if (odd(l(list)))
    fail("Odd list size: " + list);
}

Author comment

Began life as a copy of #1005302

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008842
Snippet name: failIfOddCount
Eternal ID of this version: #1008842/1
Text MD5: 41561ecfb69722957240f97fe9ed33f7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-10 19:24:21
Source code size: 100 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 509 / 645
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)