THIS FUNCTION ALLOWS YOU TO CHECK IF A GIVEN VARIABLE IS A VECTOR

Checks whether a given variable is a vector and returns a user-defined value depending on the result. Use this worker in workflow branching logic to conditionally route or label data based on vector type detection.

When to use

Classification: process.

Tagged: branching, condition, control_flow, ifvector, type_check, vector.

Inputs

Label ID Type Default Required Description
Value To Check valuetocheck scalar   The variable to inspect; connect any upstream output here to test whether it is a vector type.
Value If True valueiftrue string   String value to return when the inspected variable is confirmed to be a vector; leave blank if no explicit true-branch value is needed.
Value If False valueiffalse string   String value to return when the inspected variable is not a vector; leave blank if no explicit false-branch value is needed.

Outputs

Label ID Type Description
condition_ifvector_output_1 condition_ifvector_output_1 vector Returns the value supplied in ‘Value if true’ (as a vector) if the input is a vector, or the value supplied in ‘Value if false’ otherwise.

Disciplines

  • platform.workflow

Auto-generated from transformation schema. Worker id: condition_ifvector. Schema hash: 5d92c36af7ed. Hand-curated docs in workerexamples/ override this page when present.