sbool isDash(char c) { ret c == '-' || c >= 0x2010 && c <= 0x2015; } sbool isDash(S s) { ret l(s) == 1 && isDash(s.charAt(0)); }
Began life as a copy of #1018223
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018229 |
| Snippet name: | isDash |
| Eternal ID of this version: | #1018229/1 |
| Text MD5: | c795cffa1a473e5d206a98a2ca05d0ec |
| Author: | stefan |
| Category: | javax / tokenizing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-11 16:58:11 |
| Source code size: | 139 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 546 / 599 |
| Referenced in: | [show references] |