static S nlLogic_addGlobalID(S rule) { rule = ltrim(rule); if (!startsWith(rule, "[id:")) rule = "[id: " + aGlobalID() + (rule.startsWith("[") ? ", " + dropPrefix("[", rule) : "] " + rule); ret rule; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017824 |
Snippet name: | nlLogic_addGlobalID |
Eternal ID of this version: | #1017824/4 |
Text MD5: | 691b3894e3551e4b38f39c9f4c060c49 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-09 21:51:31 |
Source code size: | 226 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 402 / 439 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1022577 - gazelle_addGlobalID |