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

5
LINES

< > BotCompany Repo | #1011035 // functionToF1

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

Libraryless. Click here for Pure Java version (2194L/14K).

1  
static F1 functionToF1(fO f) {
2  
  if (isString(f)) ret mainFunctionToF1((S) f);
3  
  if (f instanceof F1) ret (F1) f;
4  
  ret func(O a) { ret callF(f, a); };
5  
}

Author comment

Began life as a copy of #1011032

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011035
Snippet name: functionToF1
Eternal ID of this version: #1011035/3
Text MD5: 259d5371c7d0e8beb20e720d14eaedae
Transpilation MD5: b13b63542cdd4149ca4d90da3b6ae259
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-24 00:49:38
Source code size: 157 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 470 / 592
Version history: 2 change(s)
Referenced in: [show references]