Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zmxv/react-native-sound
/ isRelativePath
Function
isRelativePath
src/index.ts:46–48 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
44
}
45
46
const
isRelativePath = (path: string) => {
47
return
!/^(\/|http(s?)|asset|file)/.test(path);
48
};
49
50
let
nextKey = 0;
51
Callers
1
constructor
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…