Type alias MapFunction

MapFunction: ((v, i, x?) => string)

Type declaration

    • (v, i, x?): string
    • Handle transformation of a substring (or character) to another.

      Parameters

      • v: string

        a substring (or character)

      • i: number

        index of substring

      • Optional x: string

        string containing the substring

      Returns string

      transformed substring

Generated using TypeDoc