Skip to content

Field

Field extracts a named member of a composite value.

y[n] = u[n].field. Selection adds no state or delay. The field must exist in the input’s composite type; the output keeps that field’s declared type.

Direction Type Meaning
Input Selected composite type Value containing the field.
Output Selected field’s type The field value, which may itself be a composite or array.
Parameter Type Default Meaning
field Field name Empty Member to extract; select a valid field before use.
Type (editor) Composite type Empty Composite whose fields the editor offers.

For Measurement { value: f64, valid: bool }, selecting valid from Measurement { value: 12.5, valid: true } outputs the Boolean true.

Use Pack to construct a composite.