Question

When hasLayout = -1 is it set to true or false....?

Thanks..!

Was it helpful?

Solution

Customarily 0 indicates false and all other values are true.

However if it's an HTML attribute it might be parsed differently because Microsoft says valid values are true or false

It appears that in your example, the intention of the programmer was to specify a true value (by customary means) but they should have used true or false, otherwise they might be conveying the wrong meaning.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top