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

3
LINES

< > BotCompany Repo | #1030018 - isInstanceOrNull (Class, object)

JavaX fragment (include)

sbool isInstanceOrNull(Class type, O arg) {
  ret arg == null || isInstance(type, arg);
}

Author comment

Began life as a copy of #1005287

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030018
Snippet name: isInstanceOrNull (Class, object)
Eternal ID of this version: #1030018/1
Text MD5: 54d1e735aba216b05f3665efdd7d2929
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-30 09:21:04
Source code size: 91 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 56 / 71
Referenced in: [show references]

Formerly at http://tinybrain.de/1030018 & http://1030018.tinybrain.de