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

11
LINES

< > BotCompany Repo | #1032677 // callOptString - callOpt, return only if string

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (3846L) is out of date.

sS callOptString(O o) {
  ret optCast S(callF(o));
}

sS callOptString(O o, S method, O... args) {
  ret optCast S(callOpt(o, method, args));
}

sS mapMethodLike callOptString(S method, O o) {
  ret callOptString(o, method);
}

Author comment

Began life as a copy of #1001199

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032677
Snippet name: callOptString - callOpt, return only if string
Eternal ID of this version: #1032677/6
Text MD5: b87bb22577cca36e7cc14c90834079a9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-04 08:34:49
Source code size: 236 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 84 / 135
Version history: 5 change(s)
Referenced in: [show references]