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

3
LINES

< > BotCompany Repo | #1005287 // isInstance (Class, object)

JavaX fragment (include)

static boolean isInstance(Class type, Object arg) {
  return type.isInstance(arg);
}

Author comment

Began life as a copy of #1000961

download  show line numbers  debug dex  old transpilations   

Travelled to 26 computer(s): aoiabmzegqzx, ayivmpnvhhik, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, codvfyxmkcrm, ddnzoavkxhuk, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, jozkyjcghlvl, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, odhhsrjjbcgr, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, wnsclhtenguj, xrpafgyirdlv

No comments. add comment

Snippet ID: #1005287
Snippet name: isInstance (Class, object)
Eternal ID of this version: #1005287/2
Text MD5: 43d917c3716fc8ee891b48f958650661
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-31 01:28:24
Source code size: 86 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 687 / 1929
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014829 - isInstanceOf - reversed form of isInstance (object, class)
#1030018 - isInstanceOrNull (Class, object)