CodableAIA Stacksona Company

Array Filter

Filters arrays using deterministic comparison operators and optional value normalization.

Run tool

Form input

Output JSON


          

Work steps

    Inputs

    NameTypeRequiredDescription
    itemsarrayYesItems
    fieldtextYesField
    operatortextYesOperator
    valueintegerYesValue

    Outputs

    NameTypeDescription
    resultarrayResult
    matched_countintegerMatched count
    workarrayWork

    Sample request

    {
      "items": [
        {
          "score": 2
        },
        {
          "score": 5
        }
      ],
      "field": "score",
      "operator": "greater_than",
      "value": 3
    }