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

5
LINES

< > BotCompany Repo | #1022577 // gazelle_addGlobalID

JavaX fragment (include)

1  
sS gazelle_addGlobalID(S rule) {
2  
  if (!containsStartingWith(lines(rule), "[id:"))
3  
    rule = appendWithNewLine(rule, "[id: " + aGlobalID() + "]");
4  
  ret rule;
5  
}

Author comment

Began life as a copy of #1017824

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022577
Snippet name: gazelle_addGlobalID
Eternal ID of this version: #1022577/2
Text MD5: 36b8d0572998e430f54fadd815cd74b3
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-23 04:59:29
Source code size: 167 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 244 / 272
Version history: 1 change(s)
Referenced in: [show references]