Hi
I have to apply multiple conditions on a variable, so I am applying like this.
if(playerstate=="AP" || coachstate=="AP" || academystate =="AP")
return true;
Can someone suggest any smart code for the code or anyway can we reduce code ?
Hi
I have to apply multiple conditions on a variable, so I am applying like this.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabu ElavarasanPosted Aug 25, 2016, 10:24 AM
Tapan PatelPosted Aug 25, 2016, 10:24 AM