Function asVariableName

  • Converts the given standard name to a variable name starting with '$' if not already present.

    Variable names are used, for instance, to reference problem matchers, within task configurations.

    Parameters

    • name: string

      standard name

    Returns string

    variable name with leading '$' if not already present.

    See

    fromVariableName for the reverse conversion.