Documentation for ParallelArray.filter() states that the elementalFunction's arguments are this (reference to the ParallelArray object) and index (element offset).
Only this is being applied, which is the actual element being processed; index is never passed into the elementalFunction.
Documentation for ParallelArray.filter() states that the elementalFunction's arguments are this (reference to the ParallelArray object) and index (element offset).
Only this is being applied, which is the actual element being processed; index is never passed into the elementalFunction.