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

6
LINES

< > BotCompany Repo | #1003172 // checkFields

JavaX fragment (include)

static bool checkFields(O x, O... data) {
  for (int i = 0; i < l(data); i += 2)
    if (neq(getOpt(x, (S) data[i]), data[i+1]))
      ret false;
  ret true;
}

Author comment

Began life as a copy of #1003171

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1003172
Snippet name: checkFields
Eternal ID of this version: #1003172/1
Text MD5: b7fd1c4b439f114079df7f79b2404abe
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-05-21 02:55:08
Source code size: 164 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 734 / 1443
Referenced in: [show references]