MCPcopy
hub / github.com/chartdb/chartdb / isStringEmpty

Function isStringEmpty

src/lib/utils/utils.ts:127–129  ·  view source on GitHub ↗
(str: string | undefined | null)

Source from the content-addressed store, hash-verified

125}
126
127export const isStringEmpty = (str: string | undefined | null): boolean => {
128 return !str || str.trim().length === 0;
129};
130
131export const areBooleansEqual = (
132 a: boolean | undefined | null,

Callers 2

importDBMLToDiagramFunction · 0.90
findTableByEndpointFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected