# isText

Checks if a rendered node is a `Text` node.

## Signatures

```ts
export declare function isText(node: Rendered): node is Text;
```

## Why

Text serialization and direct text updates use the native node kind.

## Ownership and lifetime

The check borrows the native Text node and does not mutate or retain its
character data.

## Examples

```ts
import { isText } from "@typed/template/Wire"

const result = isText(document.createTextNode("hello"))
```
