I want to put multiple independent if statements in a function;
such as:
function(){
if(){
return true //if
}else{
return false //if
};
if(){
}else{
};
if(){
}else{
};
};
if the above if returns false, the following code will not execute, and if it returns true, the function will continue to execute normally. Is that right? Ask the boss for advice!