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
    
59102 uses - Created 2006-01-31 00:53:51 - Last used 2023-12-28 05:12:26
Is this command broken? Tell Jon if you know how to fix it.