Problem

Return true if no value appears more than once.

Examples

  • allUnique([1, 2, 3]) -> true
  • allUnique([2, 2, 5]) -> false
  • allUnique([7]) -> true
Compile and test (Ctrl+Enter)