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

Function integer

http/unstable_structured_fields.ts:157–159  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

155 * ```
156 */
157export function integer(value: number): Extract<BareItem, { type: "integer" }> {
158 return { type: "integer", value };
159}
160
161/**
162 * Creates a decimal Bare Item.

Callers 2

fnFunction · 0.90
convertExpectedBareItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected