MCPcopy 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
55function isRelativeImport(path){
56 return path.startsWith('./') || path.startsWith('../');
57}
58
59function isAliasedPath(path, exact, wildcard){
60 if (exact.includes(path)){

Callers 1

resolveToFullPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected