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

4
LINES

< > BotCompany Repo | #1013454 // isRoundOrCurlyBracketed_simple

JavaX fragment (include)

static bool isRoundOrCurlyBracketed_simple(S s) {
  ret startsWith(s, "(") && endsWith(s, ")")
    || startsWith(s, "{") && endsWith(s, "}");
}

Author comment

Began life as a copy of #1008437

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: #1013454
Snippet name: isRoundOrCurlyBracketed_simple
Eternal ID of this version: #1013454/1
Text MD5: 43e707104f8b4b0f38ba86c15cd21b26
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-07 06:26:38
Source code size: 146 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 503 / 473
Referenced in: [show references]