1 | static bool isOnlySpaces(S s) {
|
2 | for (char c : characters(s)) |
3 | if (!isSpace(c)) false; |
4 | true; |
5 | } |
Began life as a copy of #1013470
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: | #1018233 |
| Snippet name: | isOnlySpaces - space, tab or new line |
| Eternal ID of this version: | #1018233/1 |
| Text MD5: | 72a4fc09084d364436e880310bd17049 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-11 17:07:43 |
| Source code size: | 104 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 565 / 595 |
| Referenced in: | [show references] |