MCPcopy
hub / github.com/YMFE/yapi / tableHeader

Function tableHeader

common/markdown.js:144–151  ·  view source on GitHub ↗
(columns)

Source from the content-addressed store, hash-verified

142}
143
144function tableHeader(columns) {
145 let header = ``;
146 columns.map(item => {
147 header += `<th key=${item.key}>${item.title}</th>`;
148 });
149
150 return header;
151}
152
153function handleObject(text) {
154 if (!_.isObject(text)) {

Callers 1

createSchemaTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected