> For the complete documentation index, see [llms.txt](https://xlswriter-docs.viest.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xlswriter-docs.viest.me/english/reader/data-type.md).

# Read by data type

* The file is not supported for the `windows` system.
* Extended version is greater than or equal to `1.2.7`;

## Compiling

Add `--enable-reader` when compiling

```bash
./configure --enable-reader
```

## example

```bash
$config = ['path' => './tests'];
$excel = new \Vtiful\Kernel\Excel($config);

$filePath = $excel->fileName('tutorial.xlsx')
     ->header(['Item', 'Cost'])
     ->output();

$excel->openFile('tutorial.xlsx')
     ->openSheet();

// When reading each row of cell data, you can specify each cell data type to read
Var_dump($excel->nextRow([
     \Vtiful\Kernel\Excel::TYPE_STRING, \Vtiful\Kernel\Excel::TYPE_STRING
]));
```
