@nhtio/adk/batteries/tools/comparison
Pre-constructed tools for comparing primitive values, arrays, and ranges.
Remarks
Pre-constructed bundled tools for the comparison category. Import individually, the whole category, or import every tool via @nhtio/adk/batteries.
Variables
| Variable | Description |
|---|---|
| compareRecordsTool | Compare two JSON objects and report keys only in A, keys only in B, keys with matching values, and keys with differing values. |
| compareValuesTool | Compare two values and return their relationship (equal, greater_than, less_than). |