Libraryless. Click here for Pure Java version (2520L/16K).
sbool instanceOfOneOf(O o, Class... classes) { if (o != null) fOr (Class c : classes) if (isInstanceOf(o, c)) true; false; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027803 |
Snippet name: | instanceOfOneOf |
Eternal ID of this version: | #1027803/1 |
Text MD5: | 946d40798dc06c505585ea25c5151dd3 |
Transpilation MD5: | f2d8fd5f9608d1a6f1ec51737441c491 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-13 14:08:23 |
Source code size: | 152 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 156 / 230 |
Referenced in: | [show references] |