Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1019878 // dirExists

JavaX fragment (include)

static bool dirExists(S path) {
  ret path != null && new File(path).isDirectory();
}

static bool dirExists(File f) {
  ret f != null && f.isDirectory();
}

Author comment

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: 250 / 295
Version history: 1 change(s)
Referenced in: [show references]