Problem

Return true if all elements > 0.

Examples

  • allPositive([1, 2]) -> true
  • allPositive([0]) -> false
Compile and test (Ctrl+Enter)