MCPcopy Index your code
hub / github.com/nodejs/node / isPathSeparator

Function isPathSeparator

lib/path.js:65–67  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

63const lazyMatchGlobPattern = getLazy(() => require('internal/fs/glob').matchGlobPattern);
64
65function isPathSeparator(code) {
66 return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
67}
68
69function isPosixPathSeparator(code) {
70 return code === CHAR_FORWARD_SLASH;

Callers 9

normalizeStringFunction · 0.85
resolveFunction · 0.85
normalizeFunction · 0.85
isAbsoluteFunction · 0.85
joinFunction · 0.85
dirnameFunction · 0.85
basenameFunction · 0.85
extnameFunction · 0.85
parseFunction · 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…