R/utils.R
or_na.Rd
A number of an answer of GitHub, such as the followers of a user, or NA when the answer lacks it.
NA
or_na(x)
A value of an answer, or NULL.
NULL
A number, or NA.
rghcard:::or_na(12) #> [1] 12 rghcard:::or_na(NULL) #> [1] NA