I’d like to run a section of a function only if a particular variable has a value stored in it, in other languages I might do something like…
if(variable != null){
}
But IF VARIABLE != NULL doesn’t seem to work here, and I can’t seem to figure out how to do this.