MCPcopy Create free account
hub / github.com/bitwarden/clients / stringIsNotUndefinedNullAndEmpty

Function stringIsNotUndefinedNullAndEmpty

apps/desktop/src/utils.ts:31–33  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

29 * Otherwise, returns `false`.
30 */
31export function stringIsNotUndefinedNullAndEmpty(str: string): boolean {
32 return str?.length > 0;
33}

Callers 1

registerIpcListenersMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected