Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

ifempty

ifThen -value1 ${value} -value2 -test EQUAL -then ${then} -else ${else}
A simple remix of ifThen to make it easier to test for emptiness.

Example:
    ifEmpty -value minsky -then nothing -else something
    returns: something

    ifEmpty -value -then nothing -else something
    returns: nothing
    
59068 uses - Created 2006-01-31 00:53:51 - Last used 2013-11-27 00:57:10
Like this command? Nominate it for a Yubnub Golden Egg
Do you find this command offensive? Let Jon know.