MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / hasCondition

Method hasCondition

packages/designer/src/document/node/node.ts:732–735  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

730 }
731
732 hasCondition() {
733 const v = this.getExtraProp('condition', false)?.getValue();
734 return v != null && v !== '' && v !== true;
735 }
736
737 /**
738 * has loop when 1. loop is validArray with length > 1 ; OR 2. loop is variable object

Callers

nothing calls this directly

Calls 2

getExtraPropMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected