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

7
LINES

< > BotCompany Repo | #1030751 // isSubclassOfAny

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

Transpiled version (2738L) is out of date.

sbool isSubclassOfAny(Class a, Cl<Class> b) {
  ret any(b, x -> isSubclass(a, x));
}

sbool isSubclassOfAny(Class a, Class... b) {
  ret any(b, x -> isSubclass(a, x));
}

Author comment

Began life as a copy of #1015399

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030751
Snippet name: isSubclassOfAny
Eternal ID of this version: #1030751/4
Text MD5: d411f6113bbc198eec89d826a8e253bc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-29 14:32:10
Source code size: 175 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 208
Version history: 3 change(s)
Referenced in: [show references]