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

3
LINES

< > BotCompany Repo | #1018232 // tok_isSpacedDash

JavaX fragment (include)

1  
sbool tok_isSpacedDash(LS tok) {
2  
  ret l(tok) == 3 && isOnlySpaces(first(tok)) && isOnlySpaces(last(tok)) && isDash(second(tok));
3  
}

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: #1018232
Snippet name: tok_isSpacedDash
Eternal ID of this version: #1018232/2
Text MD5: 302755725bc87f0d33fca832e093b7f8
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 17:08:02
Source code size: 133 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 357 / 389
Version history: 1 change(s)
Referenced in: [show references]