I have a scenario to check whether the array or a string includes one specific string.
For example, we have a returned variable which can be an array or a string. Then we need to check when it is array, it includes targetString, when it is a string, it equals to targetString
const returnedVariable = ['1', '2', '3'] or "1";
const targetString = "1"
May I please know how we can check this in one goal?