effect-io-ai

Package: effect
Module: String

String.stripMarginWith

For every line in this string, strip a leading prefix consisting of blanks or control characters followed by the character specified by marginChar from the line.

Signature

declare const stripMarginWith: { (marginChar: string): (self: string) => string; (self: string, marginChar: string): string; }

Source

Since v2.0.0