Build a Boolean Check Function - Build a Boolean Check Function

Tell us what’s happening:

I have passed the first three steps. I can’t pass any further. Does anyone know how to pass the rest?

Your code so far

function booWho(num)
{
    if (num == true)
    {
        return true;
    }

    else if (num == false)
    {
        return true;
    }

    if (booWho == 1)
    {
        return false;
    }
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information:

Build a Boolean Check Function - Build a Boolean Check Function

  1. If the argument is any other value, the function should return false.

Which line of code implements this user story?

Have you tried testing your function with different input to see the result?