MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / isObjectNotEmpty

Function isObjectNotEmpty

packages/server/src/utils/buildAgentflow.ts:2469–2471  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

2467 * Utility function to check if an object is not empty, null, or undefined
2468 */
2469export const isObjectNotEmpty = (obj: any): boolean => {
2470 return obj && Object.keys(obj).length > 0 && obj.constructor === Object
2471}

Callers 1

executeNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected