MCPcopy 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
46const isRelativePath = (path: string) => {
47 return !/^(\/|http(s?)|asset|file)/.test(path);
48};
49
50let nextKey = 0;
51

Callers 1

constructorMethod · 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…