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

6
LINES

< > BotCompany Repo | #1029884 // getProgramIDOrNull

JavaX fragment (include)

sS getProgramIDOrNull(O o) {
  S id = (String) getOpt(getMainClass(o), "programID");
  if (nempty(id))
    ret formatSnippetID(id);
  null;
}

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: 184 / 213
Referenced in: [show references]