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

Function normalizeIdentifier

http/unstable_message_signatures.ts:341–346  ·  view source on GitHub ↗
(input: ComponentInput)

Source from the content-addressed store, hash-verified

339// =============================================================================
340
341function normalizeIdentifier(input: ComponentInput): ComponentIdentifier {
342 if (typeof input === "string") {
343 return { name: input };
344 }
345 return input;
346}
347
348function resolveComponentValue(
349 id: ComponentIdentifier,

Callers 1

verifyMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected