# fs.lines ## Function Read a text file line by line. ## Syntax ```bt fs(path).lines() ``` ## Parameters No parameters. ## Return value | Type | Description | | ------ | ------ | | Array | Returns an array of strings, each element is a line of text. | ## Example ```bt file = fs('docs-lines.txt') file.write('A B') result = file.lines() // Output: ["A","B"] print result ``` ## Notes - Line breaks are not included in the returned line text.