Project

General

Profile

Added in 1.9.0

$isid

Returns $true if an alias was called as an identifier, otherwise $false.

Example

; Create an alias
alias example [
  if ($isid) {
    echo -ag Was called as a identifier.
  }
  else {
    echo -ag Was not called as a identifier.
  }
}

; Call 'example' as a alias.
/example

; call 'example' as a identifier.
//noop $example

Updated by Per Amundsen about 2 years ago · 2 revisions

Also available in: PDF HTML TXT