Skip to main content

generateChars

Callable

  • generateChars(startChar: string, endChar: string): string[]

  • Generates an array of characters between the startChar and endChar, inclusive.

    @example
    generateChars('a', 'd') // ['a', 'b', 'c', 'd']

    Parameters

    • startChar: string

      The first character of the array.

    • endChar: string

      The last character of the array.

    Returns string[]

    An array of characters from startChar to endChar.