> For the complete documentation index, see [llms.txt](https://daseldocs.tomwright.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daseldocs.tomwright.me/v1/selectors/type.md).

# Type

## Description

The type selector can be used to return the type of the current node.

## Usage

```
.[@]
```

### Return types

The type selector can return the following types:

* `array`
* `map`
* `string`
* `int`
* `float`
* `bool`

## Example

```shell
$ echo '{"numbers": [5, 2, 3, 1, 4]}' | dasel -r json '.[@]'
"map"
```

```shell
$ echo '{"numbers": [5, 2, 3, 1, 4]}' | dasel -r json '.numbers.[@]'
"array"
```

```shell
$ echo '{"numbers": [5, 2, 3, 1, 4]}' | dasel -r json '.numbers.[0].[@]'
"float"
```
