static File userDir_oneOf_createFirstIfNone(S... names) { ret or(userDir_oneOf(names), userDir(first(names))); }
Began life as a copy of #1032271
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032288 |
| Snippet name: | userDir_oneOf_createFirstIfNone - return first one that exists, or first in list if none found |
| Eternal ID of this version: | #1032288/3 |
| Text MD5: | 48d1fcdf6cfe00cc0585db1089ecdd86 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-25 13:21:55 |
| Source code size: | 116 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 349 / 385 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1033238 - userDir_oneOf_createIfNone - return first one that exists, or a special one |