• Trims whitespace and parbreaks from the start and end of an array. The number of trimmed nodes is returned. Special care is taken to preserve comments, though any whitespace before the first comment(s) or after the last comment(s) is trimmed.

    Parameters

    Returns {
        trimmedEnd: number;
        trimmedStart: number;
    }

    • trimmedEnd: number
    • trimmedStart: number

Generated using TypeDoc