static S conceptToName(S s) { AIConcept c = aiConceptsMap_cached().get(s); ret c == null || empty(c.name) ? s : c.name; }
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: | #1007416 |
Snippet name: | conceptToName - returns concept ID if no name found |
Eternal ID of this version: | #1007416/3 |
Text MD5: | b4cc09a0fef20ce59359557ee565e0bb |
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-23 15:07:02 |
Source code size: | 128 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 556 / 573 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1007443 - conceptToNameOpt - returns null if not found |