Skip to main content

SET

Create an unordered collection of unique text values.

Return Type​

Set.

Inputs​

itemType is required and accepts TEXT or BYTES. Required items is a YAML list of strings.

Syntax and Example​

SET:
itemType: TEXT
items: ["staging", "production", "staging"]

Behavior and Missing Values​

Duplicate items are removed. Text items use normalized comparison and discard normalized empty strings; Bytes items preserve case and whitespace and discard only strictly empty strings. A null Set compares equal to an empty Set.