I need to include and/or statement to an if condition in google script. I am new to script and am not able to find a way to do so. Please help

```
if (dateval<>"") and (repval<>"") {condition if true}

```

Thank you for the help.
['https://Stackoverflow.com/questions/15855762', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2252756/']
you can find all the infos on [that subject](http://www.w3schools.com/js/js_comparisons.asp) (and others ) [on this site.](http://www.w3schools.com/js/)

in your example the answer is 

```
if (dateval!="" && repval!="") {do something}

```
Logic Symbol  

Or ||  

And &&
Equal ==
Not !=

<https://www.w3schools.com/js/js_comparisons.asp>