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

Function boolean

http/unstable_structured_fields.ts:263–267  ·  view source on GitHub ↗
(
  value: boolean,
)

Source from the content-addressed store, hash-verified

261 * ```
262 */
263export function boolean(
264 value: boolean,
265): Extract<BareItem, { type: "boolean" }> {
266 return { type: "boolean", value };
267}
268
269/**
270 * Creates a date Bare Item.

Callers 2

fnFunction · 0.90
convertExpectedBareItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected