[![view on npm](http://img.shields.io/npm/v/reduce-without.svg)](https://www.npmjs.org/package/reduce-without) [![npm module downloads](http://img.shields.io/npm/dt/reduce-without.svg)](https://www.npmjs.org/package/reduce-without) [![Build Status](https://travis-ci.org/75lb/reduce-without.svg?branch=master)](https://travis-ci.org/75lb/reduce-without) [![Dependency Status](https://david-dm.org/75lb/reduce-without.svg)](https://david-dm.org/75lb/reduce-without) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard) ## reduce-without **Example** ```js const without = require('reduce-without') ``` ### without(toRemove) ⇒ Array ⏏ Returns a new array with the same content as the input minus the specified values. **Kind**: Exported function | Param | Type | Description | | --- | --- | --- | | toRemove | any | Array.<any> | one, or more [test-value](https://github.com/75lb/test-value) queries | **Example** ```js > [ 1, 2, 3 ].reduce(without(2)) [ 1, 3 ] > [ 1, 2, 3 ].reduce(without([ 2, 3 ])) [ 1 ] > data = [ { name: "Dana", age: 30 }, { name: "Yana", age: 20 }, { name: "Zhana", age: 10 } ] > data.reduce(without({ name: /ana/ })) [] ``` * * * © 2016 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).