$isalias » History » Revision 2
Revision 1 (Per Amundsen, 03/02/2014 12:20 PM) → Revision 2/9 (Per Amundsen, 03/02/2014 12:20 PM)
_Added in 1.9.0_ *$isalias(name)* Returns [[$true]] $true if the specified name is an alias command that exists in your aliases or scripts. *Parameters* name - The alias to find. *Properties* .fname - Returns the path and filename of the found alias .alias - Returns the first line of the alias. *Example* <pre> alias -l test2 { echo -ag Hello World } alias test { ;Returns $true. /echo -ag $isalias(test2) ;Returns "-l test2 { echo -ag Hello World }" /echo -ag $isalias(test2).alias } </pre>