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

7
LINES

< > BotCompany Repo | #1030754 // isInstanceOfAny

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2754L/16K).

sbool isInstanceOfAny(O o, Cl<Class> b) {
  ret any(b, x -> isInstanceOf(o, x));
}

sbool isInstanceOfAny(O o, Class... b) {
  ret any(b, x -> isInstanceOf(o, x));
}

Author comment

Began life as a copy of #1030751

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030754
Snippet name: isInstanceOfAny
Eternal ID of this version: #1030754/3
Text MD5: f0849b4be40a8498ffc1c7ae2b9e44fc
Transpilation MD5: 98d5097b5ad776e867af4d28019c4433
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-14 00:03:16
Source code size: 171 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 172 / 251
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)