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)

1  
sbool isConceptFieldIndexed(Class<? extends Concept> c, S field) {
2  
  ret isConceptFieldIndexed(db_mainConcepts(), c, field);
3  
}
4  
5  
sbool isConceptFieldIndexed(Concepts concepts, Class<? extends Concept> c, S field) {
6  
  ret concepts.getFieldIndex(c, field) != null;
7  
}

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: 473 / 557
Version history: 3 change(s)
Referenced in: [show references]