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

Function token

http/unstable_structured_fields.ts:220–222  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

218 * ```
219 */
220export function token(value: string): Extract<BareItem, { type: "token" }> {
221 return { type: "token", value };
222}
223
224/**
225 * Creates a binary Bare Item.

Callers 2

fnFunction · 0.90
convertExpectedBareItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected