ifelse0 function

ifelse function but then based on whether value is NULL or not

ifelse function but then based on whether value is NULL or not

ifelse0(value = NULL, alternative = NULL, allow_null = FALSE)

Arguments

  • value: metadata list object
  • alternative: alternative value
  • allow_null: can the alternative be NULL?

Returns

value if non-NULL; alternative otherwise

  • Maintainer: Ron Keizer
  • License: MIT + file LICENSE
  • Last published: 2024-08-19