# x-is-ducktype-array

> x is an array that contains only elements of given ducktype

Latest version **1.0.2** (published 2016-11-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install x-is-ducktype-array
pnpm add x-is-ducktype-array
yarn add x-is-ducktype-array
bun add x-is-ducktype-array
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-11-22 |
| First published | 2016-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | @serapath |
| Maintainers | serapath |

## Links

- npm: https://www.npmjs.com/package/x-is-ducktype-array
- Repository: https://github.com/serapath/x-is-ducktype-array
- Homepage: https://github.com/serapath/x-is-ducktype-array#readme
- Issues: https://github.com/serapath/x-is-ducktype-array/issues
- npm.io page: https://npm.io/package/x-is-ducktype-array

## Dependencies (1)

- [x-is-array](https://npm.io/package/x-is-array.md) ^0.1.0

## Recent versions

- 1.0.2 (latest) — 2016-11-22
- 1.0.1 — 2016-09-06
- 1.0.0 — 2016-09-06

## README

# x-is-ducktype-array
x is an array that contains only elements of given ducktype

# usage
`npm install x-is-ducktype-array`

```js
  var xString = require('x-is-string')

  var xDTypeArray = require('x-is-ducktype-array')

  xDTypeArray(xString, []) // => true
  xDTypeArray(xString, ['']) // => true

  xDTypeArray(xString, ['', {}]) // => false
  xDTypeArray(xString, {}) // => false
```


# related
a list of other `x-is-...` modules can be found at
* [x-is](https://www.npmjs.com/package/x-is)

---
_Source: https://npm.io/package/x-is-ducktype-array · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
