MCPcopy Index your code
hub / github.com/SecureAI-Tools/SecureAI-Tools / isEmpty

Function isEmpty

packages/core/src/utils/string-utils.ts:13–15  ·  view source on GitHub ↗
(s: string | undefined | null)

Source from the content-addressed store, hash-verified

11}
12
13export function isEmpty(s: string | undefined | null): boolean {
14 return (s?.length ?? 0) < 1;
15}
16
17// Clips the strings to first N characters and ellipsis.
18// For example,

Callers 15

indexNewDocumentMethod · 0.90
copyDocumentIndexMethod · 0.90
getUserFiltersFunction · 0.90
chatsApiPathFunction · 0.90
getOrgMembershipsApiPathFunction · 0.90
ChatHistoryFunction · 0.90
ResetPasswordFunction · 0.90
NewChatFunction · 0.90
ChatFunction · 0.90
indexDocumentFunction · 0.90
OrgGeneralSettingsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected