1 | static S assertInteger(S s) {
|
2 | if (!isInteger(s)) |
3 | fail("Not an integer: " + quote(s));
|
4 | ret s; |
5 | } |
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: | 1176 / 1217 |
| Referenced in: | [show references] |