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

Function isReservedPiTarget

xml/_common.ts:391–393  ·  view source on GitHub ↗
(target: string)

Source from the content-addressed store, hash-verified

389 * @returns true if the target is reserved (any case variant of "xml")
390 */
391export function isReservedPiTarget(target: string): boolean {
392 return target.length === 3 && target.toLowerCase() === "xml";
393}
394
395// =============================================================================
396// NAMESPACE VALIDATION (XML Namespaces 1.0)

Callers 4

#capturePIMethod · 0.90
processMethod · 0.90
_common_test.tsFile · 0.90
parseSyncFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected