MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / isEmptyValue

Function isEmptyValue

packages/agentflow/src/core/validation/flowValidation.ts:5–7  ·  view source on GitHub ↗

Check if a value is empty (null, undefined, empty string, or empty rich text)

(value: unknown)

Source from the content-addressed store, hash-verified

3
4/** Check if a value is empty (null, undefined, empty string, or empty rich text) */
5function isEmptyValue(value: unknown): boolean {
6 return value == null || value === '' || value === '<p></p>'
7}
8
9/**
10 * Validate the flow structure

Callers 1

validateNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected