User Activity

How can I check if the oldValue is empty or null? I have a client script that clears values of multiple fields, but I only want it to clear those fields IF the oldValue of the field wasn't empty and actually held a value. So for instance, I have thr...