isEmpty
This function check whether data is numeric(0) and give returns an NA if this is true and the value of the data otherwise.
isEmpty(x)
x
NA or the data
Useful links