static bool fileExtensionIs(File f, S ext) { ret f != null && ewic(f.getName(), addPrefix(".", ext)); } static bool fileExtensionIs(S ext, File f) { ret fileExtensionIs(f, ext); }
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: | 360 / 389 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |