a-filter
v0.0.1
Published
A simple filter. Recursively filtering an object or array.
Downloads
2
Maintainers
Readme
a-filter
A simple filter. Recursively filtering an object or array.
Array.prototype.filter for objects
.
Learn more about Array.prototype.filter.
Installation
npm install a-filter
Usages
const words = ['spray', 'limit', 'elite', 'exuberant', 'destruction', 'present'];
const result = words.filter(word => word.length > 6);
console.log(result);
// expected output: Array ["exuberant", "destruction", "present"]
Related
License
Copyright (c) 2019 dailyrandomphoto. Licensed under the MIT license.