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

6
LINES

< > BotCompany Repo | #1030910 // isConceptList - actually checks every element

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (14799L) is out of date.

sbool isConceptList(O o) {
  if (!o instanceof L) false;
  L l = cast o;
  for (O x : l) if (!x instanceof Concept) false;
  true;
}

Author comment

Began life as a copy of #1014366

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030910
Snippet name: isConceptList - actually checks every element
Eternal ID of this version: #1030910/3
Text MD5: e2f3965e88a7c9fc509b1f66d864e7df
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-30 18:52:16
Source code size: 137 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 142 / 199
Version history: 2 change(s)
Referenced in: [show references]