Codewars kata: No Loops 2 — You only need one

We solve the Codewars kata "No loops needed — you only need one". Given an array, you have to check whether it contains a particular value without using a loop. The array may hold numbers or strings. Return TRUE if the value is there and FALSE if it is not.

Read next