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

Function isSupportedAlgorithm

http/unstable_message_signatures.ts:286–288  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

284]);
285
286function isSupportedAlgorithm(value: string): value is SignatureAlgorithm {
287 return SUPPORTED_ALGORITHMS.has(value);
288}
289
290function getSignParams(
291 algorithm: SignatureAlgorithm,

Callers 2

validateSignParamsFunction · 0.85
parseSignatureInputFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected