1 | static bool fileExtensionIs(File f, S ext) { |
2 | ret f != null && ewic(f.getName(), addPrefix(".", ext)); |
3 | } |
4 | |
5 | static bool fileExtensionIs(S ext, File f) { |
6 | ret fileExtensionIs(f, ext); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015322 |
Snippet name: | fileExtensionIs |
Eternal ID of this version: | #1015322/2 |
Text MD5: | 13878f1d9a070d96aa816a0d7d32ebea |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-07 01:07:52 |
Source code size: | 186 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 359 / 389 |
Version history: | 1 change(s) |
Referenced in: | [show references] |