check_array_of_arrays_entry_lens#
- check_array_of_arrays_entry_lens(location, expected_len, property_name)[source]#
Check that each array in an array of arrays has the expected length.
- Parameters:
location (json) – the json object with location data
expected_len (int) – the expected length of each sub array
property_name (str) – the property name
- Returns:
[True, None] if sub array length checks pass. [False, str] if sub array length checks fail. The returned str is the error message.