Function encodeAlphaName

  • Encodes index as a valid lowercase alpha variable name.

    Returns

    A variable name or undefined if an index corresponds to a forbidden name.

    Parameters

    • index: number

      The variable index to encode.

    • forbiddenNames: string[] = reservedKeywords

      The array of names that cannot be returned.

    Returns string | undefined

Generated using TypeDoc