Sobes.tech
Senior

// Task: Write a method that returns true, // if the input array of int contains 3 or more // consecutive numbers anywhere. // For example: // someMethod([2, 4, 5, 6, 2]) -> true // someMethod([0, 22, 23, 24, 29]) -> true // someMethod([1, 2, 3, 4]) -> true // someMethod([1, 2, 4]) -> false