Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1018233 // isOnlySpaces - space, tab or new line

JavaX fragment (include)

static bool isOnlySpaces(S s) {
  for (char c : characters(s))
    if (!isSpace(c)) false;
  true;
}

Author comment

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: 259 / 290
Referenced in: [show references]