--- title: "Data function - set-intersection" slug: "set-intersection-data-function" updated: 2022-07-27T14:23:35Z published: 2022-07-27T14:23:35Z canonical: "code.tag.bio/set-intersection-data-function" --- > ## Documentation Index > Fetch the complete documentation index at: https://code.tag.bio/llms.txt > Use this file to discover all available pages before exploring further. # set-intersection ### set-intersection **creates: *categorical variable*** A `set-intersection` data function evaluates the intersection, i.e. the AND operation, for two or more categorical variables, data functions, or argument-references. | **attribute** | **type** | **description** | **options** | | --- | --- | --- | --- | | `criteria` | array | categorical data | `variable``data_function``argument_reference` | ``` { "data_function_type": "set-intersection", "criteria": [ ..., ... ] } ```