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

3
LINES

< > BotCompany Repo | #1023666 - valueIs1 - check if value of key in string map is "1" (good for HTTP requests)

JavaX fragment (include)

sbool mapMethodLike valueIs1(S key, SS map) {
  ret eq("1", mapGet(map, key));
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1023666
Snippet name: valueIs1 - check if value of key in string map is "1" (good for HTTP requests)
Eternal ID of this version: #1023666/1
Text MD5: 90936e2e3f7ceacc9f3d3d66824377c3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-02 15:30:15
Source code size: 82 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 32 / 52
Referenced in: [show references]

Formerly at http://tinybrain.de/1023666 & http://1023666.tinybrain.de