static bool fileExists(S path) { ret path != null && new File(path).exists(); } static bool fileExists(File f) { ret f != null && f.exists(); }
download show line numbers debug dex old transpilations
Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, ofpaelxlmzfo, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1007362 |
Snippet name: | fileExists - also true for a directory |
Eternal ID of this version: | #1007362/4 |
Text MD5: | 55aafb026eff3a3977190989381c433e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-04 17:18:24 |
Source code size: | 154 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 658 / 680 |
Version history: | 3 change(s) |
Referenced in: | [show references] |