This Yup rule allows verifying whether a value that is an array contains duplicates and fails if it does. The method is fully documented and has high test coverage.
See the open issues for a list of proposed features (and known issues).
This project is licensed under the terms of the MIT license.