MCPcopy
hub / github.com/webpack/webpack / isRelativePath

Function isRelativePath

test/harness/runner/RunnerHelpers.js:33–33  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

31 * @returns {boolean} whether path is a relative path
32 */
33const isRelativePath = (path) => /^\.\.?\//.test(path);
34
35/**
36 * @param {string} url url

Callers 1

_resolveModuleMethod · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected