Check if Text $1.00 / 1,000 calls

Length list equal

What this tool does

This tool checks if the number of items in a list matches a specific quantity you provide.

Common uses

  • Verifying that a form submission contains exactly the expected number of selections.
  • Validating that a required set of items is present without checking their individual values.

Input data

Parameter Required Example Description
list Yes 1,2,3 Enter a comma-separated list of items (e.g., 1,2,3). This field is required.
length Yes 3 Enter the number of items you expect the list to contain (e.g., 3). This field is required.

Output data

Field Description
result Returns 'true' if the list has exactly the number of items specified, and 'false' otherwise (e.g., true).