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

3
LINES

< > BotCompany Repo | #1002641 // webTrue - is an URL parameter "true"? (defaults to false)

JavaX fragment (include)

static boolean webTrue(S s) {
  ret litlist("1", "true").contains(s) || matchStart("yes", s);
}

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: #1002641
Snippet name: webTrue - is an URL parameter "true"? (defaults to false)
Eternal ID of this version: #1002641/1
Text MD5: 8516ebdcaac0cf5221a3f1a9d3d4e99b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-07 20:22:50
Source code size: 97 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 742 / 645
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)