Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/R-js/libRmath.js
/ isRelativeImport
Function
isRelativeImport
scripts/helpers.mjs:55–57 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
53
}
54
55
function
isRelativeImport(path){
56
return
path.startsWith(
'./'
) || path.startsWith(
'../'
);
57
}
58
59
function
isAliasedPath(path, exact, wildcard){
60
if
(exact.includes(path)){
Callers
1
resolveToFullPath
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected