MCPcopy Create free account
hub / github.com/TGX-Android/Publisher / empty

Function empty

main.js:280–289  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

278
279function escapeRegExp (string) {
280 return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
281}
282
283function empty (obj) {
284 if (typeof obj === 'object') {
285 for (const key in obj) {
286 if (obj.hasOwnProperty(key)) {
287 return false;
288 }
289 }
290 }
291 return true;
292}

Callers 6

getBuildCaptionFunction · 0.85
toShotBuildInfoFunction · 0.85
onVariantCheckedFunction · 0.85
uploadToGithubFunction · 0.85
processPrivateCommandFunction · 0.85
getChecksumMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected