1 | static bool dirExists(S path) {
|
2 | ret path != null && new File(path).isDirectory(); |
3 | } |
4 | |
5 | static bool dirExists(File f) {
|
6 | ret f != null && f.isDirectory(); |
7 | } |
Began life as a copy of #1007362
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019878 |
| Snippet name: | dirExists |
| Eternal ID of this version: | #1019878/2 |
| Text MD5: | 68a49234184a6939946408b60c57646f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-17 20:18:39 |
| Source code size: | 162 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 576 / 630 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |