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

5
LINES

< > BotCompany Repo | #1008538 // assertInteger

JavaX fragment (include)

static S assertInteger(S s) {
  if (!isInteger(s))
    fail("Not an integer: " + quote(s));
  ret s;
}

Author comment

Began life as a copy of #1002206

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: #1008538
Snippet name: assertInteger
Eternal ID of this version: #1008538/1
Text MD5: 0ef2759685cec9774b6da860252cc108
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-22 11:42:01
Source code size: 106 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 622 / 651
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1036213 - assertURL