Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IReadLinesFromIterableOptions

IReadLinesFromIterableOptions interface​

Options used when calling the Text.readLinesFromIterable() or Text.readLinesFromIterableAsync() methods.

Signature:

export interface IReadLinesFromIterableOptions 

Properties​

Property

Modifiers

Type

Description

encoding?

Encoding

(Optional) The encoding of the input iterable. The default is utf8.

ignoreEmptyLines?

boolean

(Optional) If true, empty lines will not be returned. The default is false.