# BooleanNode

Represents a boolean attribute (e.g. `disabled`).

## Signatures

```ts
export declare class BooleanNode {
    readonly _tag: "boolean";
    readonly name: string;
    constructor(name: string);
}
```

## Why

Presence-only native HTML semantics are distinct from string attributes.

## Ownership and lifetime

The model owns only the parsed name.

## Constructor

Creates static boolean-attribute syntax.

## Property: _tag

Static-boolean discriminant.

## Property: _tag: Why

Selects presence-only native attribute semantics.

## Property: _tag: Ownership and lifetime

Immutable AST metadata.

## Property: name

Presence-only native attribute name.

## Property: name: Why

Identifies the exact boolean attribute to create.

## Property: name: Ownership and lifetime

Retained string metadata.

## Examples

```ts
import { BooleanNode } from "@typed/template/Template"

const node = new BooleanNode("disabled")
```
