Libraryless. Click here for Pure Java version (2525L/16K).
sbool isValidFileName(S s) { ret nempty(s) && !eqOneOf(s, ".", "..") && all(characters(s), c -> isValidFileCharacter(c)); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027711 | 
| Snippet name: | isValidFileName | 
| Eternal ID of this version: | #1027711/1 | 
| Text MD5: | 2cb1433a7b762e567bc84db9010c2301 | 
| Transpilation MD5: | cab9d0f2e226b9dd3e000047eaa8bc52 | 
| Author: | stefan | 
| Category: | javax / stefan's os | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-04-04 17:11:40 | 
| Source code size: | 132 bytes / 4 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 442 / 622 | 
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027713 - test_isValidFileName (OK) #1035264 - assertValidFileName |