table--measure-max-width

table--measure-max-width is a compiled Lisp function in `table.el'.

(table--measure-max-width &optional UNLIMITED)

Return maximum width of current buffer.
Normally the current buffer is expected to be already the cache
buffer. The width excludes following spaces at the end of each line.
Unless UNLIMITED is non-nil minimum return value is 1.