> For the complete documentation index, see [llms.txt](https://conductor.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://conductor.js.org/1.3.0/api-reference/type.md).

# type

```erlang
type :: Any input => String type
```

## description

Returns the `input`'s type as a **lowercase** string.

## example

```javascript
import { type } from 'conductor'

type('hello') // 'string'
type(2) // 'number'
type(() => {}) // 'function'
type([3, 1, 4]) // 'array'
type({hello: 'world'}) // 'object'
type(new Date()) // 'date'
type(Promise.resolve(42)) // 'promise'
type(new Set()) // 'set'
type(new Map()) // 'map'
```
