Libraryless. Click here for Pure Java version (3949L/23K).
1 | static File userDir_oneOf_createIfNone(S ifNone, S... names) { |
2 | ret or(userDir_oneOf(names), userDir(ifNone)); |
3 | } |
Began life as a copy of #1032288
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033238 |
Snippet name: | userDir_oneOf_createIfNone - return first one that exists, or a special one |
Eternal ID of this version: | #1033238/1 |
Text MD5: | c9fdc0677ebfc4eaa0b20ac70bccf5f6 |
Transpilation MD5: | b6e7210ba3c94863c4e69db3e1f8e941 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-16 08:06:47 |
Source code size: | 115 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 142 / 212 |
Referenced in: | [show references] |