> For AI agents: the complete documentation index is available at https://massaman.dev/llms.txt, the full documentation bundle is available at https://massaman.dev/llms-full.txt.

# isArray

Checks if a value is an array.

```typescript
isArray([1, 2]) // true
isArray('hello') // false
```

## Usage

### `isArray(value: unknown)`

Checks if a value is an array.

```typescript
import { isArray } from 'massaman'
// or:  import { isArray } from 'massaman/predicate'

isArray([1, 2]) // true
isArray('hello') // false
```

#### Parameters


valueunknownrequired

the value to test.

#### Returns

whether `value` is an array; a `true` result narrows it to `unknown[]`.

```typescript
value is unknown[]
```
