Function fromVariableName

  • Converts a given variable name to a standard name, effectively removing a leading '$' if present.

    Standard names are used, for instance, in registries to store variable objects

    Parameters

    • name: string

      variable name

    Returns string

    variable name without leading '$' if present.

    See

    asVariableName for the reverse conversion.