> ## Documentation Index
> Fetch the complete documentation index at: https://kk-83bff226.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# countTextRows

> This function counts the number of rows in a given text.

## Signature

```typescript path=null start=null theme={null}
countTextRows(value: string): number
```

## Parameters

* **value**: `string` - The input string.

## Returns

`number` - The number of rows in the input string.

## Source

Defined in [string.ts:69](https://github.com/koji/ichigyou/blob/main/src/string.ts#L69)
