MCPcopy Create free account
hub / github.com/denoland/std / isPathSeparator

Function isPathSeparator

path/windows/_util.ts:19–21  ·  view source on GitHub ↗
(code: number)

Source from the content-addressed store, hash-verified

17}
18
19export function isPathSeparator(code: number): boolean {
20 return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
21}
22
23export function isWindowsDeviceRoot(code: number): boolean {
24 return (

Callers 8

normalizeFunction · 0.90
resolveFunction · 0.90
isAbsoluteFunction · 0.90
dirnameFunction · 0.90
extnameFunction · 0.90
parseFunction · 0.90
joinFunction · 0.90
normalizeStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected