1 | static bool isWordish(S s) {
|
2 | if (!hasLetters(s)) false; |
3 | for i over s: {
|
4 | char c = s.charAt(i); |
5 | if (!isLetterOrDigitOrApostrophe(c)) false; |
6 | } |
7 | true; |
8 | } |
Began life as a copy of #1012205
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: | #1014411 |
| Snippet name: | isWordish |
| Eternal ID of this version: | #1014411/1 |
| Text MD5: | f25eb60289674106a483b2af6f389a81 |
| Author: | stefan |
| Category: | javacx |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-21 14:27:41 |
| Source code size: | 170 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 555 / 602 |
| Referenced in: | [show references] |