Escreva uma função que recebe um array e determina se ele é estritamente crescente, estritamente decrescente ou nenhum dos dois.
check([1, 2, 3]) ➞ "increasing"
check([3, 2, 1]) ➞ "decreasing"
check([1, 2, 1]) ➞ "neither"
check([1, 1, 2]) ➞ "neither"