Check whether the given event list (direct or matcher-wrapped) already contains an Atomic hook command.
(list: &[Value])
| 1141 | /// Check whether the given event list (direct or matcher-wrapped) already |
| 1142 | /// contains an Atomic hook command. |
| 1143 | fn event_list_has_atomic(list: &[Value]) -> bool { |
| 1144 | direct_list_has_atomic(list) || matcher_list_has_atomic(list) |
| 1145 | } |
| 1146 | |
| 1147 | /// Add a handler to a direct handler list (`PreInvocation`, `Stop`, ...). |
| 1148 | /// |
no test coverage detected