hi there, it’s because you’re converting a string into a boolean where the way how it works is like this
it does not really check what’s inside the string, but it checks if the string is empty or undefined or not
so it will always return true if the string has value, but if the string is empty or null or undefined, then it will return false