• Collects a sequence of codepoints that passes a given predicate function, starting at a given position.

    Parameters

    • value: string
    • position: number
    • predicate: ((codePoint) => boolean)
        • (codePoint): boolean
        • Parameters

          • codePoint: string

          Returns boolean

    Returns [string, number]

    A 2-tuple of the new string and the new position

Generated using TypeDoc