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

3
LINES

< > BotCompany Repo | #1026456 // isAudioFile

JavaX fragment (include)

sbool isAudioFile(File f) {
  ret endsWithOneOfIC(fileName(f), ".mp3", ".wav", ".ogg", ".flac");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026456
Snippet name: isAudioFile
Eternal ID of this version: #1026456/1
Text MD5: 6ec91b1fc9d6a97c3ed349bbb88e1a6d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-04 21:02:42
Source code size: 100 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 171 / 196
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1026460 - isVideoFile