![]() | ![]() | ![]() | sole-trigger-instance-of | ![]() |
|
| source
=> trigger-instance or nil | [Generic Function] |
Purpose
Return the trigger unit instance of a KSA,
event, or a list of KSAs or events
Method signatures
(cons cons)
=> trigger-instance or nil |
(event single-instance-event)
=> trigger-instance or nil |
(ksa ksa)
=> trigger-instance or nil |
(event multiple-instance-event)
=> trigger-instance or nil |
(event non-instance-event)
=> nil |
Package :agenda-shell
Module :agenda-shell
Arguments and values
| source | A KSA, event, or a list of KSAs or events | |
| trigger-instance | A unit instance or nil
|
Returns
The trigger unit instance or nil, if one was not found in
source
Description
Typically, sole-trigger-instance-of is called with a
single KSA or single-instance event. If more than one
trigger unit instance is found in source, an error is signaled.
See also
collect-trigger-instances
sole-trigger-event-of
Example
Return the (sole) trigger unit instance of a KSA:
> (sole-trigger-instance-of ksa) #<hyp 419 (1835 4791) 0.85 [5..35]> >
The GBBopen Project
![]() | ![]() | ![]() | sole-trigger-instance-of | ![]() |