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

Function item

http/unstable_structured_fields.ts:338–343  ·  view source on GitHub ↗
(
  value: BareItem,
  parameters?: Iterable<[string, BareItem]>,
)

Source from the content-addressed store, hash-verified

336 * ```
337 */
338export function item(
339 value: BareItem,
340 parameters?: Iterable<[string, BareItem]>,
341): Item {
342 return { value, parameters: new Map(parameters) };
343}
344
345/**
346 * Creates an Inner List from Items and optional Parameters.

Callers 1

fnFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected