Skip to content

Utils.Function.get_var

DecentM edited this page Jan 16, 2026 · 86 revisions

@decentm/concourse-ts / Utils / get_var

Function: get_var()

get_var(input): Var

Defined in: utils/var/index.ts:55

Coerces the input into a Var. If the input is a valid Var, returns the input as-is. Otherwise, wraps the input string in (()) to make it a valid var.

https://concourse-ci.org/docs/vars/#var-syntax

is_identifier

Var

Parameters

input

string

Returns

Var

Clone this wiki locally