MCPcopy Index your code
hub / github.com/cli-table/cli-table3 / width

Method width

src/table.js:89–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 get width() {
90 let str = this.toString().split('\n');
91 return str[0].length;
92 }
93}
94
95Table.reset = () => debug.reset();

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.95

Tested by

no test coverage detected