Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert lambda call to a function call (#1999)
The `hasDuplicates` function was originally factored out because it is used frequently. However it was still defined as lambda, so I've updated it to be a function. There was also an unnecessary conversion to a vector (the underlying data does not change), so I've removed the conversion too.
- Loading branch information