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

3
LINES

< > BotCompany Repo | #1005098 // isEmptyTag - check if it's a self-closing tag (ending with />)

JavaX fragment (include)

static boolean isEmptyTag(S token, S tag) {
  ret token.endsWith("/>") && isTag(token, tag);
}

Author comment

Began life as a copy of #1005090

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005098
Snippet name: isEmptyTag - check if it's a self-closing tag (ending with />)
Eternal ID of this version: #1005098/1
Text MD5: 1c1aab82cf560414cc071060ea010df6
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-16 16:43:08
Source code size: 96 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 511 / 521
Referenced in: [show references]