util: special handle `maxArrayLength` while grouping arrays
requested to merge github/fork/BridgeAR/ignore-more-entries-while-grouping-arrays-with-inspect into master
This makes sure that large arrays with lots of small entries ignore
the ... n more item(s)
part since it often resulted in output that
users did not expect.
Now that part is printed on a separate line to indicate extra entries.
Before:
Refs: #27690 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines