MCPcopy Index your code
hub / github.com/IABTechLab/uid2docs / isNonEmptyString

Function isNonEmptyString

src/utils/index.ts:1–2  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1export const isNonEmptyString = (value: string) =>
2 typeof value === "string" && value.length > 0;
3
4export const capitalizeFirstLetter = (string: string) =>
5 isNonEmptyString(string)

Callers 2

capitalizeFirstLetterFunction · 0.85
isInputElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected