Libraryless. Click here for Pure Java version (53L/1K).
static File dirOtherwiseNull(File dir) { ret isDirectory(dir) ? dir : null; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030637 |
| Snippet name: | dirOtherwiseNull - return null if directory doesn't exist |
| Eternal ID of this version: | #1030637/1 |
| Text MD5: | ec198dd339f9604ecb753b2222dea754 |
| Transpilation MD5: | 6e9d4374dac7841fd9fa79f191fe71ec |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-02-09 10:32:56 |
| Source code size: | 81 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 396 / 517 |
| Referenced in: | [show references] |