Necessary Pigeonholing Mechanism
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

apr-every

3.0.3 • Public • Published

every

Returns true if every element in coll satisfies an async test.

Parameters

Examples

import awaitify from 'apr-awaitify';
import every from 'apr-every';
 
const access = awaitify(fs.access);
const files = [
  'file1',
  'file2',
  'file3'
];
 
const allExist = await every(files, async (file) =>
  await access(file)
);

Returns Promise

series

Parameters

Returns Promise

limit

Parameters

Returns Promise

install

npm i apr-every

Downloadsweekly downloads

0

version

3.0.3

license

MIT

homepage

apr.js.org

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability