[#IsChildWithParents]
= IsChildWithParents
:mrdocs:

Context&hyphen;free check that a package is exactly one child and its parents&semi; not all parents need to be present, but the package must not contain any transactions that are not the child&apos;s parents&period; It is expected to be sorted, which means the last transaction must be the child&period;

== Synopsis

Declared in `&lt;policy&sol;packages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsChildWithParents(xref:Package.adoc[Package] const& package);
----

== Return Value

true if the package is exactly one child and (a subset of) its parents&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *package*
| Transactions expected to form a child&hyphen;with&hyphen;parents package&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
