MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / cap

Function cap

js/botasaurus-js/src/output.ts:163–168  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

161}
162
163function cap(str: string): string {
164 if (str.length > 32767) {
165 return str.substring(0, 32767 - 3) + '...'
166 }
167 return str
168}
169
170function convertNestedItemToJsonForExcel(item: any) {
171 const processedDict: { [key: string]: any} = {}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected