quantity.sameVector
No description.
CLI- Package
- @procedures/quantity · README
- Path
["quantity","sameVector"]- CLI
mark quantity sameVector --a <object> --b <object>- As data
{"$proc":["quantity","sameVector"],"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","sameVector"], { a: {}, b: {} });
console.log(JSON.stringify(result));From the command line
$ mark quantity sameVector --a <object> --b <object>
As data, in a program
{ "$proc": ["quantity", "sameVector"], "input": { "a": {}, "b": {} } }Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
a | object | yes | ||
b | object | yes |
Output
The schema does not list fields (boolean).
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"a": {
"type": "object",
"properties": {
"time": {
"type": "number"
},
"length": {
"type": "number"
},
"mass": {
"type": "number"
},
"temperature": {
"type": "number"
},
"data": {
"type": "number"
},
"money": {
"type": "number"
},
"current": {
"type": "number"
}
},
"additionalProperties": {}
},
"b": {
"type": "object",
"properties": {
"time": {
"type": "number"
},
"length": {
"type": "number"
},
"mass": {
"type": "number"
},
"temperature": {
"type": "number"
},
"data": {
"type": "number"
},
"money": {
"type": "number"
},
"current": {
"type": "number"
}
},
"additionalProperties": {}
}
},
"required": [
"a",
"b"
],
"additionalProperties": false
},
"output": {
"type": "boolean"
}
}