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

4
LINES

< > BotCompany Repo | #1033982 // strOrClassName

JavaX fragment (include)

sS strOrClassName(O o) {
  if (o cast Class) ret className(o);
  ret str(o);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033982
Snippet name: strOrClassName
Eternal ID of this version: #1033982/1
Text MD5: 4da57b593f440d79abf5f64f774a1fc1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-15 05:35:20
Source code size: 81 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 194 / 225
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)