Libraryless. Click here for Pure Java version (5292L/29K).
static <A> A[] toArrayOrNull(Class<A> type, Cl<A> c) { if (empty(c)) null; ret toArray(type, c); }
Began life as a copy of #1014327
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034771 |
Snippet name: | toArrayOrNull |
Eternal ID of this version: | #1034771/1 |
Text MD5: | 2f91dd1ef6c19ec8bfc5c842fcf768da |
Transpilation MD5: | 9db8aab7d25fb0a68c51aec1e31af21b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-08 07:14:45 |
Source code size: | 105 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 124 / 183 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |