null_if_na.Rd
Helper function to sub NULL if the value contains NA
null_if_na(x)
A value
If x contains NA, returns NULL, else x
x
NA
NULL