# isComment

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

## Signatures

```ts
export declare function isComment(node: Rendered): node is Comment;
```

## Why

Typed uses native comments as transparent dynamic and hydration boundaries.

## Ownership and lifetime

The check borrows the native Comment node and does not treat it as a
renderer-owned boundary merely because it is a comment.

## Examples

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

const result = isComment(document.createComment("boundary"))
```
