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

5
LINES

< > BotCompany Repo | #1018482 // ExpectInteger

JavaX fragment (include)

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

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: 309 / 855
Version history: 2 change(s)
Referenced in: [show references]