MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / isNotEmptyObject

Function isNotEmptyObject

js/botasaurus-server-js/src/utils.ts:32–34  ·  view source on GitHub ↗
(obj: object)

Source from the content-addressed store, hash-verified

30const db_path = getPath('db.nedb');
31
32function isNotEmptyObject(obj: object): boolean {
33 return Object.keys(obj).length > 0;
34}
35
36function isEmptyObject(obj: object): boolean {
37 return Object.keys(obj).length === 0;

Callers 6

scrapingFunctionFunction · 0.90
runTaskMethod · 0.90
createTasksFunction · 0.90
createPageUrlFunction · 0.90
validateTaskRequestFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected