← All procedures

quantity.unbounded

No description.

CLI
Package
@procedures/quantity · README
Path
["quantity","unbounded"]
CLI
mark quantity unbounded --unit <string>
As data
{"$proc":["quantity","unbounded"],"input":{}}

Use it

In TypeScript

import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/quantity/register"; // registers its procedures

const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["quantity","unbounded"], { unit: "<unit>" });
console.log(JSON.stringify(result));

From the command line

$ mark quantity unbounded --unit <string>

As data, in a program

{ "$proc": ["quantity", "unbounded"], "input": { "unit": "<unit>" } }

Input

FieldTypeRequiredDefaultDescription
unitstringyes

Output

FieldTypeRequiredDefaultDescription
valuestringyes
unitstringyes
JSON Schemas
{
  "input": {
    "type": "object",
    "properties": {
      "unit": {
        "type": "string"
      }
    },
    "required": [
      "unit"
    ],
    "additionalProperties": false
  },
  "output": {
    "type": "object",
    "properties": {
      "value": {
        "type": "string",
        "const": "infinite"
      },
      "unit": {
        "type": "string"
      }
    },
    "required": [
      "value",
      "unit"
    ],
    "additionalProperties": {}
  }
}