R/internals.R
rmfi_ifelse0.Rd
rmfi_ifelse0 returns yes if test is TRUE. If test is FALSE, it returns no.
rmfi_ifelse0
yes
test
TRUE
FALSE
no
rmfi_ifelse0(test, yes, no)
an object which can be coerced to logical mode.
return value for test==TRUE
test==TRUE
return value for test==FALSE
test==FALSE