MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isNullRedirectionTarget

Function isNullRedirectionTarget

src/utils/powershell/parser.ts:1703–1706  ·  view source on GitHub ↗
(target: string)

Source from the content-addressed store, hash-verified

1701 * inside the braces (`${ null }`) name a different variable, so no regex.
1702 */
1703export function isNullRedirectionTarget(target: string): boolean {
1704 const t = target.trim().toLowerCase()
1705 return t === '$null' || t === '${null}'
1706}
1707
1708/**
1709 * Get output redirections (file redirections, not merging redirections).

Callers 3

isReadOnlyCommandFunction · 0.85
getFileRedirectionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected