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

7
LINES

< > BotCompany Repo | #1015410 // isImageFileName

JavaX fragment (include)

static bool isImageFileName(S s) {
  ret eqicOneOf(fileExtension(s), ".png", ".jpg", ".jpeg", ".gif"
    ifdef QOI
    , ".qoi"
    endifdef
  );
}

Author comment

Began life as a copy of #1015390

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015410
Snippet name: isImageFileName
Eternal ID of this version: #1015410/2
Text MD5: 6b25d57392fd45cbe8095c1de7390f1f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-15 20:56:52
Source code size: 153 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 445 / 500
Version history: 1 change(s)
Referenced in: [show references]