team_var
Retrieves a team variable.
Example
1
2
3
{{ 'id' | team_var }} => 123
{{ 'name' | team_var }} => John Doe
{{ 'slug' | team_var }} => some-team-slug-abz
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| string | varName | The name of the variable to retrieve. Comes before the | sign. | Required |
| int|null | teamId | The ID of the team to retrieve the variable for, defaults to the current team |
Output
| Type | Description | |
|---|---|---|
| mixed | null | The value of the variable or null if the variable is not found |