import { number } from "https://deno.land/x/fun@v2.0.0/json_schema.ts";
Creates a JsonBuilder of an number type
Examples
Example 1
Example 1
import * as J from "./json_schema.ts";
import { pipe } from "./fn.ts";
// schema === { type: "number" }
const schema = J.print(J.number());
Returns
JsonBuilder<number>