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

ifEmpty

(This command has been awarded a Yubnub Golden Egg)

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
    
59104 uses - Created 2006-01-31 00:53:51 - Last used 2024-11-26 18:56:24
Is this command broken? Tell Jon if you know how to fix it.