Check whether a given record is a particular type
is_indi(gedcom, xref)
is_famg(gedcom, xref)
is_subm(gedcom, xref)
is_repo(gedcom, xref)
is_media(gedcom, xref)
is_note(gedcom, xref)
is_sour(gedcom, xref)
A tidyged object.
The xref of the record.
A logical indicating whether the record is of a particular type.
is_indi(sample555, "@I1@")
#> [1] TRUE
is_note(sample555, "@I1@")
#> [1] FALSE
is_famg(sample555, "@F2@")
#> [1] TRUE
is_repo(sample555, "@R1@")
#> [1] TRUE