iff: Apply a function if and only if test is TRUE
Description
otherwise return input value unchangedUsage
iff(obj, test, fun, ...)iffn(obj, test, fun, ...)
Arguments
obj
object to apply test and fun to
test
logical or function to apply to test
Details
iffn is ... if and only if test is FALSE