MCPcopy Index your code
hub / github.com/dataease/SQLBot / hasUndefined

Function hasUndefined

frontend/public/swagger-ui-bundle.js:38456–38465  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

38454 function unescapePathComponent(s) {
38455 return s.replace(/~1/g, '/').replace(/~0/g, '~')
38456 }
38457 function hasUndefined(s) {
38458 if (void 0 === s) return !0
38459 if (s)
38460 if (Array.isArray(s)) {
38461 for (var o = 0, i = s.length; o < i; o++) if (hasUndefined(s[o])) return !0
38462 } else if ('object' == typeof s)
38463 for (var a = _objectKeys(s), u = a.length, _ = 0; _ < u; _++)
38464 if (hasUndefined(s[a[_]])) return !0
38465 return !1
38466 }
38467 function patchErrorMessageFormatter(s, o) {
38468 var i = [s]

Callers 1

validatorFunction · 0.85

Calls 2

_objectKeysFunction · 0.85
isArrayMethod · 0.45

Tested by

no test coverage detected