attemptAll
function attemptAll( existing, candidates, rules?): object;Accept several files in order, each checked against the list as it grows.
Order matters: dropping the same file twice with dedupe on must accept the
first and refuse the second, which only works if each candidate sees the
accumulated result rather than the original list.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
existing | File[] |
candidates | File[] |
rules | FileRules |
Returns
Section titled “Returns”object
files: File[];results
Section titled “results”results: FileAttempt[];