Skip to content
1 min read · 84 words

@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 ​

VariableDescription
compareRecordsToolCompare two JSON objects and report keys only in A, keys only in B, keys with matching values, and keys with differing values.
compareValuesToolCompare two values and return their relationship (equal, greater_than, less_than).