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

22
LINES

< > BotCompany Repo | #1020474 // boolPar - extended synonym of boolOptParam

JavaX fragment (include)

1  
sbool boolPar(ThreadLocal<Bool> tl) {
2  
  ret boolOptParam(tl);
3  
}
4  
5  
6  
7  
// defaults to false
8  
sbool boolPar(O[] _, S name) {
9  
  ret boolOptParam(_, name);
10  
}
11  
12  
sbool mapMethodLike boolPar(S name, O[] _) {
13  
  ret boolOptParam(_, name);
14  
}
15  
16  
sbool mapMethodLike boolPar(S name, Map _) {
17  
  ret boolOptParam(name, _);
18  
}
19  
20  
sbool boolPar(S name, O[] params, bool defaultValue) {
21  
  ret optParam(params, name, defaultValue);
22  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020474
Snippet name: boolPar - extended synonym of boolOptParam
Eternal ID of this version: #1020474/5
Text MD5: 7835bdb1749e0bd9f4b378a491be8bb7
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-16 22:10:19
Source code size: 428 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 463 / 508
Version history: 4 change(s)
Referenced in: [show references]