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

7
LINES

< > BotCompany Repo | #1020619 // isDirectory

JavaX fragment (include)

sbool isDirectory(File f) {
  ret f != null && f.isDirectory();
}

sbool isDirectory(S path) {
  ret path != null && isDirectory(newFile(path));
}

Author comment

Began life as a copy of #1019618

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020619
Snippet name: isDirectory
Eternal ID of this version: #1020619/2
Text MD5: 1caf966625b23bc4158c9fde65009126
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-18 01:29:30
Source code size: 152 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 367 / 446
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)