unique_or_na function

Get the unique value in x or NA if none