I have this statement:
pn = r.notFound == "true" ? "Not currently assigned" : "Currently assigned to VPMO " + r.currentAssignment;
and I need to add a condition for “undefined” and then a value to it. It basically needs to read something like…
r.notFound == "undefined" then “Already assigned to this project”
else if
r.notFound == “true” then “Not currently assigned”
else
“Currently assigned to VPMO “ + r.currentAssignment;
?
EDIT
If you want to check whether the variable is defined use: