# Literals

The most fundamental of any language are its literals. Cheddar provides the 4 most basic literals:

* Strings
* Numbers
* Booleans
* Arrays

Additionally Cheddar has **functions**, **interfaces**, and more primitives. Classes will be covered in their very own section

## Strings

Strings in Cheddar are like most programming languages:

```ruby
 "Hello, World!"
 'Hello, World!'
 "2 + 2 = #{2+2}"
 '10 + 10 = #{10+10}'
```

## Numbers

Numbers have many features in Cheddar to make them readable and clear:

```swift
123
123.456
123_456
0b123
```

## Arrays

Arrays in Cheddar are like most other languages:

```c
 [1,2,3]
 ["foo", "bar", "baz"]
```

## Booleans

Booleans are either:

```
 true
 false
```


---

# 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.cheddar.vihan.org/docs/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.
