Create a container criterion for an observer
create_descriptor_condition.RdBuild a single DescriptorCondition entry for an Observer's
ContainerCriteria. A container criterion matches the containers an
observer applies to by a Tag and an optional match Type. This is a
small builder that returns the raw named list; assemble several of them
into a list for create_observer() or observer$container_criteria.
Arguments
- tag
Character. The container tag to match (required).
- type
Character. The match type. This is an open string, not a closed enum: PK-Sim writes values such as
"InContainer","NotInContainer","InParent", or"MatchTag", and any of these (or another string PK-Sim emits) is preserved verbatim. Omitted whenNULL.