MCPcopy
hub / github.com/ChatGPTNextWeb/NextChat / validString

Function validString

app/client/api.ts:240–242  ·  view source on GitHub ↗
(x: string)

Source from the content-addressed store, hash-verified

238}
239
240export function validString(x: string): boolean {
241 return x?.length > 0;
242}
243
244export function getHeaders(ignoreHeaders: boolean = false) {
245 const accessStore = useAccessStore.getState();

Callers 2

getBearerTokenFunction · 0.85
getHeadersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected