hapijs/joi — pull request #402 by gaastonsr (2014-08-19 22:33:19+00:00)
Title: Add duplicates validation to array

It adds the function array.noDuplicates() and detects duplicates of strings, numbers, dates and booleans. Objects and functions are out of scope.

Also, it is type sensitive so 1 and '1' are no the same. Or true and 'true'.