Check out example codes for "and unity". It will help you in understanding the concepts better.

Code Example 1

// The Or Symbol Is   ||

Code Example 2

// The AND Symbol in Unity is &&

// if a is greater than b AND b is greater than c than
if(a > b && b > c)
{
// Do something
}

Learn ReactJs, React Native from akashmittal.com