Libraryless. Click here for Pure Java version (35L/1K).
sbool isBoxedType(Class type) { ret type == Boolean.class || type == Integer.class || type == Long.class || type == Float.class || type == Short.class || type == Character.class || type == Byte.class || type == Double.class; }
Began life as a copy of #1017021
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024088 |
Snippet name: | isBoxedType (Bool, Int, ...) |
Eternal ID of this version: | #1024088/1 |
Text MD5: | 1be81e416592a12af32a11c508ba6a3c |
Transpilation MD5: | 92c265b72b63196662cb8702be88a610 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-20 15:26:26 |
Source code size: | 265 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 220 / 314 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032728 - isBoxedValue (Bool, Int, ...) #1033882 - isArrayType |