Skip to content

Utils.Function.get_identifier

DecentM edited this page Jan 16, 2026 · 86 revisions

@decentm/concourse-ts / Utils / get_identifier

Function: get_identifier()

get_identifier<IdentifierType>(input): IdentifierType

Defined in: utils/identifier/index.ts:71

Returns the input string if it's a valid identifier, converted to the Identifier type. Throws if the passed input fails Identifier validation.

https://concourse-ci.org/docs/config-basics/#identifier-schema

is_identifier

Type Parameters

IdentifierType extends Identifier = Identifier

Parameters

input

string

Returns

IdentifierType

The input

Throws

Clone this wiki locally