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

4
LINES

< > BotCompany Repo | #1007433 // orQuestionMark2 - call a string function, defaulting to ? on error or empty

JavaX fragment (include)

// f: func(...) -> S
static S orQuestionMark2(O f, O... args) {
  ret or2((S) pcallF(f, args), "?");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007433
Snippet name: orQuestionMark2 - call a string function, defaulting to ? on error or empty
Eternal ID of this version: #1007433/1
Text MD5: 5e11bc4cf432327ef3be5731cc6cdce7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-23 11:27:33
Source code size: 105 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 391 / 438
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)