MCPcopy
hub / github.com/wavetermdev/waveterm / isBlank

Function isBlank

frontend/util/util.ts:11–13  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

9const prevValueCache = new WeakMap<any, any>(); // stores a previous value for a deep equal comparison (used with the deepCompareReturnPrev function)
10
11function isBlank(str: string): boolean {
12 return str == null || str == "";
13}
14
15function isLocalConnName(connName: string): boolean {
16 if (isBlank(connName)) {

Callers 15

widgets.tsxFile · 0.90
SuggestionContentFunction · 0.90
subscribeToConnEventsFunction · 0.90
updateWaveEventSubFunction · 0.90
handleWaveEventFunction · 0.90
constructorMethod · 0.90
LauncherViewFunction · 0.90
isIconValidFunction · 0.90
constructorMethod · 0.90
fetchSuggestionsFunction · 0.90
handleSelectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected