method TrimLinesTransformation.prototype.executeSync
TrimLinesTransformation.prototype.executeSync(rules: string[]): string[]

Trims whitespace from all lines.

Parameters

rules: string[]
  • Array of rules to process

Return Type

string[]

Array with trimmed lines

Usage

import { TrimLinesTransformation } from ".";