MCPcopy Create free account
hub / github.com/Lobos/react-ui / isAbsolutePath

Function isAbsolutePath

docs/lib/ReactRouter.js:2354–2356  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

2352 var _createDOMHistory2 = _interopRequireDefault(_createDOMHistory);
2353
2354 function isAbsolutePath(path) {
2355 return typeof path === 'string' && path.charAt(0) === '/';
2356 }
2357
2358 function ensureSlash() {
2359 var path = _DOMUtils.getHashPath();

Callers 1

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