1 | sbool isSingleCharactersPlusSpaces(S s) { |
2 | if (even(l(s))) false; |
3 | for i over s: |
4 | if (!(even(i) ? isLetter(s.charAt(i)) : isSpace(s.charAt(i)))) false; |
5 | true; |
6 | } |
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: | #1014584 |
Snippet name: | isSingleCharactersPlusSpaces - like "h i g h e r" |
Eternal ID of this version: | #1014584/3 |
Text MD5: | e543b682a3697cdb59291f794fc27a0a |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-24 13:02:09 |
Source code size: | 171 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 401 / 419 |
Version history: | 2 change(s) |
Referenced in: | [show references] |