ifnot: IF NOT

Description Usage Arguments Value Examples

Description

short for if( !... ) do something else do something different

Usage

1
ifnot(cond, optTrue, optFalse = { })

Arguments

cond

condition that hast to be false

optTrue

option running if condition is not TRUE

optFalse

option running if condition is not FALSE

Value

execution of code either for optTrue or optFalse

Examples

1
ifnot( 1 == 2, cat( "one is not equal to two" ), cat( "one is not not equal to two" ) )

TPeschel/hlpr4life documentation built on May 9, 2019, 2:25 p.m.