# Literals

Literals are predefined constant values in Internet Object that represent common data states and special values. They provide a concise way to express boolean values, null states, and special numeric values without requiring quotes or additional syntax.

## Supported Literals

Internet Object supports the following literal values:

| Literal | Type    | Represents                    | Case Sensitive |
| ------- | ------- | ----------------------------- | -------------- |
| `true`  | Boolean | True value                    | Yes            |
| `T`     | Boolean | True value (short form)       | Yes            |
| `false` | Boolean | False value                   | Yes            |
| `F`     | Boolean | False value (short form)      | Yes            |
| `null`  | Null    | Null/empty value              | Yes            |
| `N`     | Null    | Null/empty value (short form) | Yes            |
| `Inf`   | Number  | Positive infinity             | Yes            |
| `-Inf`  | Number  | Negative infinity             | Yes            |
| `NaN`   | Number  | Not a Number                  | Yes            |

## Examples

```ruby
# Boolean literals
~ isActive: true, verified: F, isDeleted: false, visible: T

# Null literals
~ middleName: null, nickname: N

# Special numeric literals
~ maxValue: Inf, minValue: -Inf, result: NaN
```

## Rules

* **Case Sensitive**: All literals must use exact case (`True`, `FALSE`, `NULL` are invalid)
* **No Quotes**: Literals are written without quotes
* **Short Forms**: Single-letter shortcuts available for brevity

## See Also

* [**Boolean Values**](/the-structure/values/booleans.md) - Detailed boolean type specification
* [**Null Values**](/the-structure/values/null.md) - Null type and optional values
* [**Number Literals**](/the-structure/values/number/nan-and-infinity.md) - Numeric types including special values


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.internetobject.org/the-structure/structural-elements/literals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
