• Pegjs operates on strings. However, strings and arrays are very similar! This function adds charAt, charCodeAt, and substring methods to array so that array can then be fed to a Pegjs generated parser.

    Parameters

    • array: any[]

    Returns StringlikeArray

Generated using TypeDoc