MCPcopy Index your code
hub / github.com/bugy/script-server / isEmptyString

Function isEmptyString

web-src/src/common/utils/common.js:25–27  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

23}
24
25export function isEmptyString(value) {
26 return isNull(value) || ((typeof value === 'string') && (value.length === 0));
27}
28
29export function isBlankString(value) {
30 return isNull(value) || ((typeof value === 'string') && (value.trim().length === 0));

Callers 7

selectExecutionFunction · 0.90
startExecutionFunction · 0.90
selectScriptByHashFunction · 0.90
UPDATE_PARAMETER_ERRORFunction · 0.90
reloadScriptFunction · 0.90
testValidationFunction · 0.90
getWebsocketUrlFunction · 0.85

Calls 1

isNullFunction · 0.85

Tested by

no test coverage detected