is_indi: Check whether a given record is a particular type

View source: R/interrogate.R

is_indiR Documentation

Check whether a given record is a particular type

Description

Check whether a given record is a particular type

Usage

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)

Arguments

gedcom

A tidyged object.

xref

The xref of the record.

Value

A logical indicating whether the record is of a particular type.

Examples

is_indi(sample555, "@I1@")
is_note(sample555, "@I1@")
is_famg(sample555, "@F2@")
is_repo(sample555, "@R1@")

jl5000/tidygedcom documentation built on June 22, 2022, 5:16 p.m.