Function getLineBefore

  • Returns the string between the position and the previous \n.

    Parameters

    • text: string
    • position: number

    Returns string

Generated using TypeDoc