call every function on results array to ascertain if a word matches the string, push the outcome to the output array, use ternary expression to return true if there are any true values in the output array