sbool boolPar(ThreadLocal<Bool> tl) { ret boolOptParam(tl); } // defaults to false sbool boolPar(O[] _, S name) { ret boolOptParam(_, name); } sbool mapMethodLike boolPar(S name, O[] _) { ret boolOptParam(_, name); } sbool mapMethodLike boolPar(S name, Map _) { ret boolOptParam(name, _); } sbool boolPar(S name, O[] params, bool defaultValue) { ret optParam(params, name, defaultValue); }
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: | 462 / 506 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1025028 - doublePar - optional parameter with smart casting to Double |