Better ways to find if both variables are true or both are false September 4, 2023 by Tarik I may be missing something very fundamental, but I’ll give it a go: result = ( v1 == v2 );