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

6
LINES

< > BotCompany Repo | #1029884 // getProgramIDOrNull

JavaX fragment (include)

1  
sS getProgramIDOrNull(O o) {
2  
  S id = (String) getOpt(getMainClass(o), "programID");
3  
  if (nempty(id))
4  
    ret formatSnippetID(id);
5  
  null;
6  
}

Author comment

Began life as a copy of #1001112

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1029884
Snippet name: getProgramIDOrNull
Eternal ID of this version: #1029884/1
Text MD5: a7977ebf1f32e0f6c82cad6710940ab6
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-27 14:52:13
Source code size: 146 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 186 / 215
Referenced in: [show references]