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

11
LINES

< > BotCompany Repo | #1020736 // isMarkedAsSrcLib

JavaX fragment (include)

1  
sbool isMarkedAsSrcLib(S snippetID) {
2  
  if (snippetID == null) false;
3  
  
4  
  ifndef NoResourceLoader
5  
  IResourceLoader rl = vm_getResourceLoader();
6  
  if (rl != null)
7  
    ret isJavaxCompilableSnippetType(rl.getSnippetType(snippetID));
8  
  endifndef
9  
  
10  
  ret fileExists(javaxCodeDir("srclibs/" + psI(snippetID));
11  
}

Author comment

Began life as a copy of #1020735

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1020736
Snippet name: isMarkedAsSrcLib
Eternal ID of this version: #1020736/6
Text MD5: 120a69c20e334db5a301b4a5f684aadd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-25 18:28:31
Source code size: 318 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 290 / 326
Version history: 5 change(s)
Referenced in: [show references]