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

3
LINES

< > BotCompany Repo | #1018615 // hasExtension

JavaX fragment (include)

1  
sbool hasExtension(File f, S ext) {
2  
  ret f != null && ewic(f.getName(), addPrefixOptIfNempty(".", ext));
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018615
Snippet name: hasExtension
Eternal ID of this version: #1018615/1
Text MD5: 5239c1a8e0e347d69c2fc6ef1338b527
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-07 16:34:38
Source code size: 109 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 392 / 437
Referenced in: [show references]