• Returns the index of the first occurrence of character in the provided string which is not inside a segment {}. Returns -1 if there is no occurrence.

    Parameters

    • character: string
    • segment: string
    • start: number = 0

    Returns number

Generated using TypeDoc