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

Function string

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

Source from the content-addressed store, hash-verified

197 * ```
198 */
199export function string(value: string): Extract<BareItem, { type: "string" }> {
200 return { type: "string", value };
201}
202
203/**
204 * Creates a token Bare Item.

Callers 2

fnFunction · 0.90
convertExpectedBareItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected