sfdx-git-delta
Version:
Generate the sfdx content in source format and destructive change from two git commits
10 lines • 357 B
JavaScript
const asyncFilter = async (list, predicate) => {
const resolvedPredicates = [];
for (const elem of list) {
const predicateResult = await predicate(elem);
resolvedPredicates.push(predicateResult);
}
return list.filter((_, idx) => resolvedPredicates[idx]);
};
export default asyncFilter;
//# sourceMappingURL=asyncFilter.js.map