Project

General

Profile

$isid » History » Version 1

Per Amundsen, 08/10/2015 06:59 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$isid*
4
5
Returns [[$true]] if an alias was called as an identifier, otherwise [[$false]].
6
7
*Example*
8
9
<pre>
10
; Create an alias
11
alias test [
12
  if ($isid) {
13
    echo -ag Was called as a identifier.
14
  }
15
  else {
16
    echo -ag Was not called as a identifier.
17
  }
18
}
19
20
; Call test as a alias.
21
/test
22
23
; call test as a identifier.
24
//noop $test
25
</pre>