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

5
LINES

< > BotCompany Repo | #1018482 // ExpectInteger

JavaX fragment (include)

1  
sclass ExpectInteger extends Expecter {
2  
  bool check(O o) {
3  
    ret o instanceof S && isInteger((S) o) || o instanceof Int;
4  
  }
5  
}

Author comment

Began life as a copy of #1018478

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018482
Snippet name: ExpectInteger
Eternal ID of this version: #1018482/3
Text MD5: fccb84cde7dcbf4d42d4e5efaa94f5a5
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-01 18:26:27
Source code size: 133 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 310 / 856
Version history: 2 change(s)
Referenced in: [show references]