$prop » History » Version 1
Per Amundsen, 08/10/2015 07:02 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$prop* |
||
| 4 | |||
| 5 | Returns the property used (if any) when a custom identifier is called. |
||
| 6 | |||
| 7 | *Example* |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | ; Create an alias. |
||
| 11 | alias example { |
||
| 12 | echo -ag prop used was $prop |
||
| 13 | } |
||
| 14 | |||
| 15 | ; Call the alias with a property. |
||
| 16 | //noop $example().helloworld |
||
| 17 | </pre> |