static S quoteIfNotIdentifier(S s) { if (s == null) return null; return isJavaIdentifier(s) ? s : quote(s); }
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: | #1001194 |
Snippet name: | quoteIfNotIdentifier |
Eternal ID of this version: | #1001194/1 |
Text MD5: | 8010aa16c3f1e97cbd90095d5ddec6c7 |
Author: | stefan |
Category: | javacx |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-09-29 17:34:05 |
Source code size: | 116 bytes / 4 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 838 / 1826 |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1008181 - quoteIfNotIdentifierOrInteger #3000382 - Answer for ferdie (>> t = 1, f = 0) |