MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / isControlCharacter

Function isControlCharacter

src/core/createCompat.ts:335–339  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

333}
334
335function isControlCharacter(value: string): boolean {
336 if (value.length === 0) return false;
337 const code = value.charCodeAt(0);
338 return code >= 0 && code <= 31;
339}
340
341function normalizeRelativePath(value: string): string {
342 return value

Callers 1

sanitizeForPathSegmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected