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

Function isBlankString

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

Source from the content-addressed store, hash-verified

27}
28
29export function isBlankString(value) {
30 return isNull(value) || ((typeof value === 'string') && (value.trim().length === 0));
31}
32
33export function isEmptyArray(value) {
34 return isNull(value) || value.length === 0;

Callers 2

assertOpenGroupFunction · 0.90
assertLastErrorFunction · 0.90

Calls 1

isNullFunction · 0.85

Tested by

no test coverage detected