| 1 | static S findAIConcept(S description) {
 | 
| 2 | Concepts concepts = new Concepts(#1006463).safeLoad(); | 
| 3 | ret findAIConcept(concepts, description); | 
| 4 | } | 
| 5 | |
| 6 | static S findAIConcept(Concepts concepts, S description) {
 | 
| 7 | for (Concept c : list(concepts, "AIConcept")) | 
| 8 | if (match(description, getString(c, "name"))) | 
| 9 | ret getString(c, "globalID"); | 
| 10 | null; | 
| 11 | } | 
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: | #1007084 | 
| Snippet name: | findAIConcept (matching on "description" field) | 
| Eternal ID of this version: | #1007084/4 | 
| Text MD5: | 1fd1577c65782e01863afe5be2866ac7 | 
| Author: | stefan | 
| Category: | javax / a.i. | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2017-03-20 14:18:33 | 
| Source code size: | 356 bytes / 11 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 774 / 776 | 
| Version history: | 3 change(s) | 
| Referenced in: | [show references] |