What I want to do is I want to make the default value of “asd to true” if the inv doesn’t include any value so if The function doesn’t has any value I’ll make the asd = true but if it has any bool value then i’ll convert the asd to that value without making the code in multiple lines.
so if the value in the function (inv) is empty(?) or doesnt equal to a certain value then set the asd to true, and if it has then set asd to the “inv” value? I understood correctly?