> 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/v2/functions/type.md).

# Type

Accepts no arguments.

Returns the type of the current value.

Possible return values are:

* `string`
* `number`
* `bool`
* `array`
* `object`
* `null`
* `unknown`

## Examples

### This

```
$ echo '[
  "x",
  false,
  true,
  1,
  1.1,
  {"x":1},
  [1]
]' | dasel -r json 'all().type()'
"string"
"bool"
"bool"
"number"
"number"
"object"
"array"
```
