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

7
LINES

< > BotCompany Repo | #1008623 // isConceptFieldIndexed - check for presence of field index

JavaX fragment (include)

sbool isConceptFieldIndexed(Class<? extends Concept> c, S field) {
  ret isConceptFieldIndexed(db_mainConcepts(), c, field);
}

sbool isConceptFieldIndexed(Concepts concepts, Class<? extends Concept> c, S field) {
  ret concepts.getFieldIndex(c, field) != null;
}

Author comment

Began life as a copy of #1008622

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: #1008623
Snippet name: isConceptFieldIndexed - check for presence of field index
Eternal ID of this version: #1008623/4
Text MD5: 91c916177553747117bc62047d3e0792
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-29 20:51:52
Source code size: 269 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 471 / 554
Version history: 3 change(s)
Referenced in: [show references]