Added in 1.9.0

$isalias(name)

Returns $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

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

}