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

Function isWindowsDeviceRoot

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

Source from the content-addressed store, hash-verified

21}
22
23export function isWindowsDeviceRoot(code: number): boolean {
24 return (
25 (code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z) ||
26 (code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z)
27 );
28}

Callers 8

normalizeFunction · 0.90
basenameFunction · 0.90
resolveFunction · 0.90
isAbsoluteFunction · 0.90
dirnameFunction · 0.90
toNamespacedPathFunction · 0.90
extnameFunction · 0.90
parseFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected